Interface display method and related device
By monitoring the movement speed of electronic devices and controlling the display and hiding of cards, the problem of interference between electronic devices in the POI point fence is solved, improving user experience and reducing power consumption.
Patent Information
- Application Number
- CN202410009813.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2044-01-02
AI Technical Summary
电子设备在进入POI点的围栏内时,显示相关卡片可能对用户造成干扰,影响用户体验。
According to the motion speed detection of the electronic device, the user's activity intention is judged, and the card is not displayed when the motion speed is large, reducing interference; the card is displayed when the motion speed is small, providing prompts.
Control the display of the card by monitoring the speed of motion, reduce interference to users, improve user experience and reduce power consumption of electronic devices.
Smart Images

Figure CN120301968A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technologies, and in particular, to an interface display method and related devices. Background Art
[0002] A point of interest (POI) is a useful location record on a map, which consists of its address, geographical coordinates, and some additional attributes (such as name, category, evaluation, etc.). POIs can be used as a basis for an electronic device to provide functions such as location search and navigation for users.
[0003] In a possible design, when the electronic device is within the fence corresponding to the POI, the desktop of the electronic device can display the card corresponding to the POI. Exemplarily, taking the POI as a bus stop, when the electronic device is within the fence of the bus stop, the desktop of the electronic device can display a card, and the card displays prompt information related to the bus, such as "Please pay attention to boarding", the bus ride code, the bus line information of the current bus stop, the estimated time for the bus to arrive, etc.
[0004] However, in some scenarios (such as passing by), when the electronic device displays the card corresponding to the POI after entering the fence corresponding to the POI, it may cause interference to the user and result in a poor user experience. Summary of the Invention
[0005] Embodiments of this application provide an interface display method and related devices, which are applied to the field of terminal technologies. The electronic device can detect the motion state. When the motion speed is relatively high, the card is not displayed to reduce interference to the user; when the motion speed is relatively low, the card is displayed to prompt 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, the electronic device enters a first fence, the motion 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 motion speed of the electronic device is a second speed, and the electronic device does not display a second card corresponding to the second fence, where 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 continues to be within the second fence, and at the third moment, the motion speed of the electronic device is a third speed, and the electronic device displays the second card, where the third speed is less than the second speed.
[0007] In this way, the electronic device does not push the card when the motion speed is relatively high, reducing interference to the user.
[0008] In a possible implementation, from the second moment to the third moment, the electronic device continuously stays in the second fence, and the moving speed of the electronic device at the third moment is the third speed. The electronic device displays the second card, including: from the second moment, the electronic device detects the moving speed 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, and the second speed is greater than the first threshold.
[0009] In this way, by monitoring the moving speed, when it is less than the threshold, the card is displayed. When it is greater than the threshold, the card is not displayed. This reduces the interference to the user.
[0010] In a possible implementation, 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 center of the electronic device, and the first message is used to indicate entering the second fence; in response to the first message, the decision-making center confirms that the motion state is the first type, and the first type is used to indicate that the moving 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 center, and the second message is used to indicate that the motion state of the electronic device is the second type; in response to the second message, the electronic device displays the second card.
[0011] In a possible implementation, the method further includes: from the third moment to the fourth moment, the electronic device continuously stays in the second fence, and at the fourth moment, the electronic device enters the fourth fence, and the electronic device does not display the second card, and there is no service corresponding to the second fence in the fourth fence.
[0012] In this way, when there is no service corresponding to the second fence, the card is not displayed, reducing the interference to the user.
[0013] In a possible implementation, from the third moment to the fourth moment, the electronic device continuously stays in the second fence, and at the fourth moment, the electronic device enters the fourth fence, and the electronic device does not display the second card, including: at the fourth moment, the sensing module of the electronic device transmits a third message to the decision-making center of the electronic device, and the third message is used to indicate that the electronic device enters the fourth fence; in response to the third message, the electronic device does not display the second card.
[0014] In a possible implementation, the fourth fence is a WIFI fence, and the WIFI is a network used in a pre-set home and / or a network used in a pre-set company.
[0015] In this way, the card is not displayed at home or in the company, reducing the interference.
[0016] In a possible implementation, from the fourth moment to the fifth moment, the electronic device continuously stays in the second fence and the fourth fence, and at the fifth moment, the electronic device exits the fourth fence, and the electronic device displays the second card.
[0017] When leaving home or the company, identification can be triggered, the card can be displayed, and the user can be prompted to facilitate user operation.
[0018] In a possible implementation, from the fourth moment to the fifth moment, the electronic device continuously stays in the second fence and the fourth fence, and at the fifth moment, the electronic device exits the fourth fence, and the electronic device displays the second card, including: at the fifth moment, the sensing module of the electronic device transmits a fourth message to the decision-making center of the electronic device, and the fourth message is used to indicate that the electronic device exits the fourth fence; in response to the fourth message, the electronic device displays the second card.
[0019] In a possible implementation, the method further includes: from the third moment to the sixth moment, the electronic device continuously stays in the second fence, and at the sixth moment, the moving speed of the electronic device is the fourth speed, and 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, reasoning can be triggered, the card is not displayed, and interference to the user is reduced.
[0021] In a possible implementation, from the third moment to the sixth moment, the electronic device continuously stays in the second fence, and at the sixth moment, the moving 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 sensing module of the electronic device transmits a fifth message to the decision-making center of the electronic device, and the fifth message is used to indicate that the motion 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 a possible implementation, the method further includes: at the seventh moment, the electronic device exits the second fence, and the electronic device does not display the second card; at the eighth moment, the electronic device enters the third fence, and at the eighth moment, the moving speed of the electronic device is the fifth speed, and 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 the card has been triggered within a certain period of time, it can not be displayed. The interference to the user caused by multiple displays in a short period of time can be reduced.
[0024] In a possible implementation, at the eighth moment, the electronic device enters the second fence, and the moving 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 center of the electronic device, and the sixth message is used to indicate entering the third fence; when the decision-making center confirms that the first time interval is less than the preset time interval, the electronic device does not display the second card.
[0025] In a possible implementation, the method further includes: at the ninth moment, the electronic device exits the second fence, and the electronic device does not display the second card; at the tenth moment, the electronic device enters the fourth fence, and the moving speed of the electronic device at the tenth moment is the sixth speed, and the electronic device displays the second card, and the sixth speed is less than the second speed; wherein, the service type corresponding to the fourth fence is the same as the service 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.
[0026] In this way, within a relatively short distance range, the card can be displayed, and the interference to the user caused by multiple displays within a short distance can be reduced.
[0027] In a possible implementation, at the tenth moment, the electronic device enters the fourth fence, and the moving speed of the electronic device at the tenth moment is the sixth speed, and 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 center of the electronic device, and the seventh message is used to indicate entering the fourth fence; when the decision-making center confirms that the first distance is greater than the preset distance, the electronic device does not display the second card.
[0028] In a possible implementation, the method further includes:
[0029] At the eleventh moment, the electronic device exits the second fence; at the twelfth moment, the electronic device enters the fifth fence; the moving speed of the electronic device is the seventh speed, and 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 continuously stays in the fifth fence, and at the thirteenth moment, the moving speed of the electronic device is the eighth speed, and the electronic device enters the sixth fence, and the electronic device 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, 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.
[0030] In this way, for cards of the same type, another card can be preferentially recommended. The interference of multiple traffic services can be reduced.
[0031] In a possible implementation, from the twelfth moment to the thirteenth moment, the electronic device continuously stays in the fifth fence, and at the thirteenth moment, the moving speed of the electronic device is the eighth speed. The electronic device enters the sixth fence, and the electronic device 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 middle platform of the electronic device, and the eighth message is used to indicate entering the sixth fence; when the decision-making middle platform confirms the display of the third card, the electronic device does not display the second card.
[0032] In a possible implementation, when the decision-making middle platform confirms the display of the third card, the electronic device does not display the second card, including: the intention recognition module in the decision-making middle platform transmits a ninth message to the intention sharing module in the electronic device, and the ninth message is used to query whether the third card is displayed; in response to the ninth message, the intention sharing module transmits a tenth message to the intention recognition module, and the tenth message is used to indicate the display of the third card.
[0033] In a possible implementation, the method further includes: at the fourteenth moment, the electronic device enters the second fence, and at the fourteenth moment, the moving 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; within a preset duration starting from the fourteenth moment, the electronic device continuously stays in the second fence, and the moving speed of the electronic device continuously 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, during non-commuting hours, the display of the card is delayed for a period of time to reduce interference to the user.
[0035] In a possible implementation, the method further includes: at the fifteenth moment, the electronic device enters the second fence, and at the fifteenth moment, the moving 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 when the electronic device conducts the business corresponding to the second card within N days before the third moment; M is the 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 when the duration of the electronic device entering the second fence within N days before the third moment is greater than the second threshold, and X is the third threshold; at the fifteenth moment, C is less than M, and D is less than X, where D is the number of days when the duration of the electronic device entering the second fence within N days before the fifteenth moment is greater than the second threshold.
[0036] In this way, it is possible to confirm whether to display the card according to the display situation of the user's stay within a period of time, reducing interference to the user.
[0037] In a possible implementation, the method further includes: at the sixteenth moment, the electronic device enters the second fence, and at the sixteenth moment, the moving 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 O, where E is the number of times the electronic device displays the second card within P days before the third moment, O is the third threshold, and P is the fourth threshold; or, at the third moment, E is greater than or equal to O, and the electronic device detects that the number of operations of entering the second card 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 operations of entering the second card is greater than the fifth threshold, where F is the number of times the electronic device displays the second card within P days before the sixteenth moment.
[0038] In this way, it is possible to confirm whether to display the card according to the entry or cancellation of the card within a period of time, reducing the interference to the user.
[0039] In a 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 moving 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 the second preset time interval.
[0040] In this way, it is possible to confirm whether to display the card according to the cancellation of the card within a period of time, reducing the interference to the user.
[0041] Second aspect, an embodiment of the present application provides an interface display device, which may be an electronic device, or a chip or a chip system within the 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 configured to perform the display step so that the electronic device implements an interface display method described in the first aspect or any possible implementation manner 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, and the storage unit may be a memory. The storage unit is configured to store instructions, and the processing unit executes the instructions stored in the storage unit so that the electronic device implements an interface display method described in the first aspect or any possible implementation manner of the first aspect. When the interface display device is a chip or a chip system within the electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit so that the electronic device implements an interface display method described in the first aspect or any possible implementation manner of the first aspect. The storage unit may be a storage unit within the chip (for example, a register, a cache, etc.), or a storage unit outside the chip within the electronic device (for example, a read-only memory, a random access memory, etc.).
[0042] Exemplarily, the display unit is configured to display a card when the movement speed is relatively high.
[0043] The processing unit is configured to detect the movement speed of the electronic device.
[0044] Third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory. The memory is configured to store code instructions, and the processor is configured to run the code instructions to execute the method described in the first aspect or any possible implementation manner of the first aspect.
[0045] Fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instructions are stored. When the computer program or instructions are run on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation manner of the first aspect.
[0046] Fifth aspect, an embodiment of the present application provides a computer program product including a computer program. When the computer program is run on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation manner of the first aspect.
[0047] Sixth aspect, the present application provides a chip or a chip system, which includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected by a line. The at least one processor is configured to run a computer program or instruction to execute the method described in the first aspect or any possible implementation manner of the first aspect. Among them, the communication interface in the chip can be an input / output interface, a pin, a circuit, etc.
[0048] In a possible implementation, the chip or the chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory. The memory can be a storage unit inside the chip, for example, a register, a cache, etc., or it can also be a storage unit of the chip (for example, a read-only memory, a random access memory, etc.).
[0049] It should be understood that the second aspect to the sixth aspect of the present application correspond to the technical solutions of the first aspect of the present application. The beneficial effects obtained by each aspect and the corresponding feasible implementation manners are similar, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0051] Figure 2 It is a schematic diagram of an interface of an electronic device provided by an embodiment of the present application;
[0052] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application;
[0053] Figure 4A It is a software structure block diagram of an electronic device provided by an embodiment of the present application;
[0054] Figure 4B It is a schematic diagram of a process of intent sharing interaction provided by an embodiment of the present application;
[0055] Figure 5 It is a schematic diagram of internal module interaction involved in the process of POI intent triggering and recognition provided by an embodiment of the present application;
[0056] Figure 6 It is a schematic diagram of a process of a display method of a bus card corresponding to a bus service provided by an embodiment of the present application;
[0057] Figure 7 It is a schematic diagram of an interface of an electronic device provided by an embodiment of the present application;
[0058] Figure 8 It is a schematic diagram of a process of a display method of a subway card corresponding to a subway service provided by an embodiment of the present application;
[0059] Figure 9 Schematic diagram of an interface of an electronic device provided by an embodiment of the present application;
[0060] Figure 10 Flow schematic diagram of a display method of a store card corresponding to a store service provided by an embodiment of the present application;
[0061] Figure 11 Flow schematic diagram of an interface display method provided by an embodiment of the present application. Detailed implementation manners
[0062] For the convenience of clearly describing the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application:
[0063] 1. Fence: A trigger condition. When the electronic device detects that the fence meets the trigger condition, the electronic device starts to execute a specific service or provide a specific service, for example, display, refresh or close notification messages, warning messages or cards, etc. In the embodiments of the present application, the fence can include various types, such as a geographical fence and a time fence, etc.
[0064] 2. Geographical fence: Used to represent a trigger condition related to a location. A geographical fence is a location based service (LBS), which uses a virtual fence to enclose a geographical area with a virtual boundary. The virtual boundary defines a specific geographical area.
[0065] The closer the geographical area indicated by the geographical fence is to the location area of the real scene, the more accurate the indication of the real scene is. The geographical fence can be circular, polygonal or irregular, which is not limited in the embodiments of the present application. In the embodiments of the present application, the geographical fence is a geographical area centered on a certain location, or a geographical area including a certain location or place. These locations or places can be a company, a subway station, a user's home, a shopping mall or a school, etc.
[0066] 3. Point of interest (POI): Refers to a certain landmark, building, scenic spot, etc. on an electronic map. In the embodiments of the present application, POIs can mark commercial institutions in various industries (gas stations, department stores, supermarkets, restaurants, hotels, convenience stores, hospitals, etc.), tourist attractions (parks, public toilets, etc.), historical sites and scenic spots, transportation facilities (various stations, parking lots, speed cameras, speed limit signs), etc. The specific definition is not limited here.
[0067] 4. Other terms
[0068] In the embodiments of the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and roles. For example, the first chip and the second chip are only used to distinguish different chips, and do not limit their sequence. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and terms such as "first" and "second" do not necessarily mean different.
[0069] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0070] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are an "or" relationship. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (s) or plural item (s). For example, at least one (item) of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple.
[0071] 5. Electronic device
[0072] The electronic device in the embodiments of the present application may include a handheld device with a display function, a vehicle-mounted device, etc. For example, some electronic devices are: mobile phone, tablet computer, handheld computer, laptop computer, mobile internet device (MID), wearable device (such as smart watch, smart glasses, smart bracelet or smart jewelry, etc.), virtual reality (VR) device, augmented reality (AR) device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, vehicle-mounted device, terminal device in a 5G network or terminal device in a future evolved public land mobile network (PLMN), etc. The embodiments of the present application are not limited thereto.
[0073] In addition, in the embodiments of the present application, the electronic device may also be a terminal device in an internet of things (IoT) system. The 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, so as to realize an intelligent network of human-machine interconnection and object-object interconnection.
[0074] The electronic device in the embodiments of the present application may also be referred to as: terminal device, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile unit, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.
[0075] In the embodiments of the present application, an electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as main memory). The operating system can be any one or more computer operating systems that implement service processing through processes. For example, Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system, etc. The application layer includes applications such as a browser, an address book, a word processing software, and an instant messaging software.
[0076] Exemplarily, Figure 1 FIG. is a schematic diagram of an application scenario provided by an embodiment of the present application. As Figure 1 shown, the scenario includes: a point of interest (POI) 101, a fence 102, and an electronic device 103. A fence 102 is set with the POI 101 as the center. After the electronic device 103 detects that the current position is within the fence 102, the electronic device 103 can display a card, and the card displays prompt information related to the service corresponding to the POI 101. The prompt information is used to prompt the user about the service corresponding to the POI.
[0077] Exemplarily, taking the electronic device as a mobile phone and the POI 101 as a bus stop as an example, when the electronic device 103 detects that the current position is within the fence 102, the electronic device 103 can display Figure 2 the interface as shown. The interface includes: a card 201, multiple application icons, time, etc. The card 201 displays prompt information 202. The prompt information 202 can be "Please pay attention to taking the bus". The prompt information 202 can also be the bus line information corresponding to this bus stop, the bus ride code, etc.
[0078] However, in some scenarios (such as passing by, etc.), the user may not need to use the card. Exemplarily, when the user is carrying the electronic device and taking a vehicle past the POI, the card displayed by the electronic device may affect the user's normal operation and reduce the user experience of using the electronic device.
[0079] In view of this, an embodiment of the present application provides an interface display method. After the electronic device enters the fence, it can determine the activity intention through the movement speed of the electronic device, and then realize the control of whether to display the card. Exemplarily, when the movement speed of the electronic device is relatively large, there is no activity intention, and the electronic device does not display the card; when the movement speed of the electronic device is relatively small, there is an activity intention, and the electronic device displays the card.
[0080] In this way, the movement speed of the electronic device is used to judge the user's usage requirements, reducing the accidental pop-up of cards when the user has no usage requirements, reducing interference to the user, and improving the user experience. In addition, reducing the display times of the cards can also reduce the power consumption of the electronic device.
[0081] To better understand the embodiments of the present application, the structure of the electronic device in the embodiments of the present application will be introduced below.
[0082] Exemplarily, Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 3 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 interface 170D, a sensor module 180, a button 190, an indicator 192, a camera 193, and a display screen 194, etc.
[0083] Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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. No specific limitation is made in the embodiments of the present application.
[0084] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0085] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0086] In an embodiment of the present application, after the electronic device enters the fence, the processor 110 determines the user's activity intention by analyzing some states of the electronic device (for example, motion state, network connection state), historical display of the card, etc. When the electronic device meets the pre-set POI intention trigger conditions and POI intention recognition conditions, the processor 110 will push information corresponding to the activity intention to the user in the form of an interface display card. The message includes a prompt message and / or the business information to be executed corresponding to the fence (for example, a link to the bus boarding code, a link to the subway boarding code, a restaurant ordering link, a punch-in interface link corresponding to the commuting punch-in application, a pickup code for express delivery, 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 performed in the interface display method provided in the embodiment of the present 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 computer executable program codes, and the executable program codes include instructions. The internal memory 121 can include a program storage area and a data storage area. For example, the internal memory 121 can be used to store executable program codes in a system upgrade method.
[0089] The electronic device realizes the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor.
[0090] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. For example, the display screen 194 can achieve the display of the Figure 2 interface shown, etc., which is not limited in the embodiments of the present application.
[0091] The software system of the electronic device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture, etc., which will not be elaborated here.
[0092] The following will Figure 4A describe the software architecture of the electronic device in conjunction with Figure 4A This is a software structure block diagram of an electronic device provided by an embodiment of the present application.
[0093] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Android runtime, and the system libraries, and the kernel layer.
[0094] The application layer may include a series of application packages.
[0095] As Figure 4A shown, the application packages may include: a scene configuration module, a plugin management module, a perception module, a decision module, and a card management module.
[0096] The scene configuration module is used to receive the scene configuration information transmitted by the server (cloud), and transmit the scene configuration information to the card management module.
[0097] The plugin management module is used to parse the scene configuration information to obtain one or more of the following information: POI type, POI intent trigger condition, POI intent recognition condition, card display information.
[0098] The POI type is used to indicate the service corresponding to the POI. For example, bus, subway, in-store, etc. The POI intent trigger condition is the condition for entering the POI intent recognition. The POI intent trigger condition includes but is not limited to: the position of the fence, the size of the fence, the accuracy of the fence, etc.; the POI intent recognition condition is the condition for the specific POI intent; the POI intent recognition condition includes but is not limited to: network connection condition, motion state condition, historical display situation of the card, etc. The card display information includes but is not limited to: card shape, card size or card form.
[0099] The plugin management module distributes the parsed information to the corresponding modules. Exemplarily, the plugin management module may transmit the card display information to the card management module to implement the display of the card. The plugin management module may transmit the POI type, the POI intent trigger condition, and the POI intent recognition condition to the decision module. Adaptively, the decision module may transmit the POI type and the POI intent recognition condition to the sensing module to trigger the POI intent recognition. The decision module may implement the POI intent recognition after the POI intent is triggered according to the POI type and the POI intent recognition condition.
[0100] The sensing module has the ability to sense external facts or environments to implement the state sensing of the electronic device. Exemplarily, after the POI recommendation function of the electronic device is turned on, the sensing module may listen according to the POI intent trigger condition transmitted by the decision module (for example, specific time, specific location, specific event, movement speed, etc.).
[0101] When it detects that the user triggers one of the POI intent trigger conditions, the sensing module may transmit a notification to the decision module. In addition, the sensing module may also detect relevant events and obtain the status of the events from other application programs in the application layer, or the application framework layer, or the system layer, or the kernel layer through the API, such as detecting Bluetooth connection, mobile network connection, monitoring user text messages, and customizing timers, etc. Specific limitations are not made here.
[0102] Exemplarily, the sensing module may sense whether the user enters a geofence. For example, the sensing module may detect whether the electronic device enters the area indicated by the geofence based on the WIFI network detected by the electronic device, as well as the mapping relationship between the WIFI network identifier, the WIFI network signal strength, and the geofence. For another example, the sensing module may detect whether the electronic device enters the area indicated by the geofence based on the searched satellite status.
[0103] The decision module is used to implement the logic of the display and disappearance of various cards. For example, when the decision module receives the notification sent by the sensing module indicating that the electronic device meets the POI intent trigger condition (for example, the electronic device enters the fence corresponding to the bus stop), it may judge the user intent corresponding to the POI according to the POI intent recognition condition. When the POI intent is not recognized, no processing is performed. When the POI intent is recognized, a command is sent to the card management module to display the card. Among them, the command may carry a prompt message, a link to a certain third-party APP or a small program. When the user clicks on the card, it will jump to the third-party APP or the small program according to the link. The embodiments of the present application do not make specific limitations on the information carried by the command.
[0104] In the embodiments of the present application, the decision-making module may include: a trigger management module, an intention sharing module, a decision-making center platform, an intention recognition module, and an intention decision-making module.
[0105] The trigger management module is used to register a POI fence with the perception module and trigger the decision-making center platform to perform intention recognition and intention decision-making.
[0106] In the embodiments of the present application, the trigger management module may trigger the decision-making center platform to perform intention recognition and intention decision-making when detecting a change in the status of the POI fence, a change in the motion state after entering the POI fence, or a change in the status of the fence corresponding to a preset area after entering the POI fence.
[0107] The decision-making center platform is used to implement POI intention recognition according to POI intention recognition conditions to control the display or disappearance of various cards.
[0108] In the embodiments of the present application, the decision-making center platform can implement the recognition of multiple types of POI intentions. The multiple intentions include but are not limited to: bus intention, subway intention, store intention, scenic spot intention, etc. The bus intention is used to predict the user's willingness to take the bus. The subway intention is used to predict the user's willingness to take the subway; the store intention is used to predict the user's willingness to enter the store; the scenic spot intention is used to predict the user's willingness to enter the scenic spot.
[0109] The decision-making center platform includes: an intention recognition module and an intention decision-making module. The intention recognition module is used to confirm whether there is a POI intention according to some states of the electronic device (such as motion state, network connection state, etc.).
[0110] The intention decision-making module is used to judge whether there is a POI intention according to the historical display situation of the card to display the card.
[0111] The intention sharing module is used to manage the recognition results of multiple intentions. Exemplarily, when the intention recognition module makes a judgment of a certain type of intention, it can obtain the recognition results of other types of intentions from the intention sharing module to confirm whether to suppress the intention. Exemplarily, when the intention recognition module makes a judgment of the bus intention, it can obtain the judgment result of the subway intention from the intention sharing module. When there is a subway intention in the electronic device, the bus intention is suppressed and the bus card is not displayed. The bus card can be understood as the card corresponding to the bus service, and the card displays the prompt information or to-be-executed information corresponding to the bus service.
[0112] Exemplarily, such as Figure 4BAs shown, after entering the fence corresponding to the subway service and confirming the subway intention (for example, confirming that the subway card is displayed), the intention decision module transmits a message indicating the subway intention to the intention sharing module. After exiting the fence corresponding to the subway service, the intention decision module transmits a message indicating the absence of the subway intention to the intention sharing module. After entering the fence corresponding to the bus service, it is possible to query from the intention sharing module whether there is a subway intention.
[0113] In the embodiment of the present application, the card management module is used to construct a card and display the card on the display screen of the electronic device, or cancel the display of the card on the display screen. The card management module can manage the display position, form, outline, etc. of the card.
[0114] The card management module can save the card display information and, when the electronic device has a POI intention, perform card display according to the card display information.
[0115] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.
[0116] As Figure 4A shown, the application framework layer may include a view system, etc.
[0117] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to construct applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
[0118] Android runtime includes a core library and a virtual machine. Android runtime is responsible for the scheduling and management of the Android system.
[0119] The core library contains two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android.
[0120] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0121] The system library may include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (e.g., OpenGL ES), 2D graphics engine (e.g., SGL), etc.
[0122] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0123] The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0124] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0125] The 2D graphics engine is a drawing engine for 2D drawing.
[0126] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.
[0127] It can be understood that the software architecture provided by the embodiments of the present application is only an example and does not constitute a limitation to the embodiments of the present application.
[0128] Next, in combination with the above system structure, the interface display method in the embodiments of the present application will be specifically described:
[0129] In response to the operation of enabling the card recommendation function, the electronic device obtains 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 trigger condition, POI intent recognition condition, and card display information.
[0130] The plugin management module may transmit the POI type, POI intent trigger condition, and POI intent recognition condition to the decision module. The decision module may transmit the POI type and POI intent recognition condition to the perception module to trigger the POI intent recognition. The decision module may implement the POI intent recognition according to the POI type and POI intent recognition condition after the POI intent is triggered.
[0131] When the perception module detects that the electronic device meets the POI intent trigger condition, it transmits a message indicating the trigger of POI intent recognition to the decision module. The decision module can perform POI intent recognition based on the POI type carried in this message. When the decision module detects that the electronic device meets the POI recognition condition, it transmits a message indicating card display to the card management module. The card management module performs card display according to the POI type carried in this message.
[0132] The following combines Figure 5 to illustrate POI intent trigger and POI intent recognition.
[0133] Exemplarily, Figure 5 is a schematic diagram of internal module interaction involved in a POI intent trigger and recognition process provided by an embodiment of this application. As Figure 5 shown, the interaction process includes:
[0134] S501. In response to an operation to enable the POI recommendation function, the plugin management module transmits a message indicating the registration of a POI intent to the trigger management module. This message includes: POI type, the fence (trigger condition) of the POI intent, and the POI intent recognition condition.
[0135] S502. The trigger management module transmits a message indicating the registration of a POI fence to the perception module. This message includes: the POI intent trigger condition.
[0136] The POI fence can be a geographical fence, a time fence, or any type of fence, and no specific limitation is made here. The geographical fence can be a WiFi fence, a cell fence, a GPS fence, a Beidou fence, etc., and no specific limitation is made here.
[0137] S503. When the perception module detects that the electronic device enters the POI fence, it transmits a message indicating the entry into the POI fence to the trigger management module. This message includes: the 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 makes a judgment on the corresponding suppression condition of this POI type.
[0140] The suppression conditions include but are not limited to: the motion state of the electronic device is walking or stationary, and the electronic device is located in a preset area A (such as home, company, etc.)
[0141] S506. When the electronic device does not meet the suppression condition, it makes a judgment on the corresponding intent prediction condition of this POI type.
[0142] The intention prediction conditions include, but are not limited to: commuting time periods, triggering situation judgment within a preset time period A, non-commuting time periods, staying situations, etc. Specifically, reference can be made to the corresponding descriptions of the following intention recognition conditions, which will not be elaborated here. Staying means having a certain stay time within the fence. For example, staying for 10 minutes.
[0143] S507. When the electronic device meets the intention preset conditions, judge the card display according to the historical display situation of the card. The historical display situation of the card includes, but is not limited to: the exposure days of the card, the click ratio of the card, the cancellation times of the card, the cancellation duration, etc. Specifically, reference can be made to the corresponding descriptions of the following intention recognition conditions, which will not be elaborated here.
[0144] S508. When there is a POI intention, transmit the POI intention to the intention sharing module. When there is no POI intention, repeat the above S505 - S507 until it is detected that the electronic device exits the POI fence.
[0145] S509. The intention sharing module transmits a message for indicating card display to the card management module. The message includes: the POI type. Adaptively, the card management module displays the card on the display screen.
[0146] S510. When the sensing module detects that the electronic device exits the POI fence, transmit a message for indicating exiting the POI fence to the trigger management module. The message includes: the POI type.
[0147] S511. The trigger management module transmits a message for indicating stopping recognition to the intention recognition module. Adaptively, the intention recognition module stops predicting the POI intention.
[0148] S512. The trigger management module transmits a message for indicating exiting the POI intention to the intention sharing module.
[0149] S513. The intention sharing module transmits a message for indicating canceling the card display to the card management module. The message includes: the POI type. Adaptively, the card management module cancels the display of the card.
[0150] It can be understood that after receiving the message for indicating entering the POI fence, the trigger management module transmits a registration message to the sensing module. The registration message is used to register the monitoring of the motion state and / or the state monitoring of the fence in the preset area.
[0151] When the motion state changes, the sensing module can transmit a first change message to the trigger management module. After receiving the change message, the trigger management module triggers S505 - S509. The first change message is used to indicate the change of the motion state.
[0152] When the status of the fence in the preset area changes, the sensing module can transmit a second change message to the trigger management module. After receiving the change message, the trigger management module triggers S505 - S509. The second change message is used to indicate the change in the status of the fence in the preset area. For example, changing from entering the fence of the preset area to exiting the fence of the preset area; changing from exiting the fence of the preset area to entering the fence of the preset area.
[0153] The motion state can refer to the relevant description of the following motion state, and the preset area can refer to the following preset area A, which will not be specifically described here.
[0154] The following uses specific embodiments to elaborate in detail on the technical solution of the present application and how the technical solution of the present application solves the above technical problems. These several specific embodiments can be implemented independently or in combination with each other. For the same or similar concepts or processes, they may not be repeated in some embodiments.
[0155] In the embodiments of the present application, the services corresponding to the POI type can be: bus, subway, store, scenic spot, etc. The following combines specific services to illustrate the display and cancellation of the corresponding service cards.
[0156] Exemplarily, Figure 6 is a schematic flowchart of a method for displaying a bus card corresponding to a bus service provided by an embodiment of the present application. As Figure 6 shown, the process includes:
[0157] S601. The scene configuration module receives the scene configuration information and transmits the scene configuration information to the plugin management module.
[0158] The scene configuration information is used to indicate the judgment logic corresponding to the bus service. For example, the logic for triggering bus service recognition (such as S605 - S607) and the logic for bus service recognition (such as S608 - S613), etc.
[0159] The scene configuration information may include: identifier A of the bus service, fence A corresponding to the bus service, and intention recognition condition A corresponding to the bus service.
[0160] The identifier A is used to indicate the bus service. The identifier A can be the name of the bus service or the index value corresponding to the bus service, etc., which is not specifically limited here.
[0161] The fence A includes but is not limited to: the location of the bus stop, the surrounding environment information of the bus stop, the range of the fence, the accuracy, the radius of the fence, etc.
[0162] In the embodiments of the present application, the fence A is used as the trigger condition corresponding to the bus service. Other types of trigger conditions can also be set for the fence A, which is not specifically limited here.
[0163] The intention recognition condition A can be related to one or more of the following states: movement speed, network connection status, historical display of bus cards, etc.
[0164] S602. The plugin management module analyzes the scenario configuration information to obtain identifier A, fence A, and intention recognition condition A.
[0165] S603. The plugin management module transmits a message for indicating the registration of bus intention prediction to the trigger management module. This message includes: identifier A, fence A, and intention recognition condition A.
[0166] S604. The trigger management module transmits a message for indicating the subscription to bus intention prediction to the decision-making center. This message includes: identifier A, fence A, and intention recognition condition A.
[0167] The trigger management module can transparently transmit identifier A, fence A, and intention recognition condition A to the decision-making center.
[0168] S605. The decision-making center configures and enables bus intention recognition prediction, and the decision-making center transmits a message for indicating the subscription to the fence to the sensing module. This message includes: fence A and identifier A.
[0169] S606. After receiving the message for indicating the subscription to the fence, the sensing module starts to detect whether the electronic device enters fence A.
[0170] S607. When the sensing module detects that the electronic device enters fence A, it transmits a message for indicating the entry into fence A to the decision-making center. This message includes: identifier A.
[0171] In some embodiments, when the sensing module detects that the electronic device enters fence A, it transmits a message for indicating the entry into fence A to the decision-making center via the trigger management module. This message includes: identifier A.
[0172] Adaptively, the trigger management module registers the monitoring of the motion state and / or the monitoring of the state of the fence in the preset area A with the sensing module.
[0173] The sensing module can transmit the motion state or the change information of the motion state to the trigger management module. Specifically, refer to the corresponding description below. When the trigger management module detects a change in the motion state or a change in the state of the fence in the preset area A, it triggers the electronic device to perform the recognition of subway intention in the following S608 - S613. The preset area A can refer to the corresponding description below and will not be elaborated here.
[0174] It can be understood that the trigger management module can register for listening to the motion state with the perception module. Adaptively, the trigger management module can transmit the motion state information to the decision-making middleware at a certain frequency; or the perception module can also transmit the change information of the motion state to the trigger management module when the motion state changes. No specific limitation is made here.
[0175] The motion state information can be the motion speed of the electronic device or the motion level of the electronic device. The change information of the motion state is used to indicate the change of the motion level of the electronic device. For example, it changes from level 1 to level 2.
[0176] In some embodiments, according to different motion speeds, the electronic device can divide the motion speed from high to low into level 1, level 2, level 3, and level 4. In some embodiments, the electronic device can divide the motion speed from high to low into 4 levels such as by car, by bike, on foot, and stationary. No specific limitation is made here.
[0177] S608. The decision-making middleware determines whether the electronic device meets condition 1.
[0178] Condition 1 is used to indicate that the electronic device is located in the preset area A. There is no corresponding bus service in the preset area A. In this way, the preset area A in the fence A can be excluded. When the electronic device is located in the preset area A, the bus card is not displayed, reducing interference to the user.
[0179] In some embodiments, the preset area A may include: home and / or company. In this way, when the electronic device is at home or at the company, the bus card is not displayed, reducing interference to the user.
[0180] In some embodiments, the decision-making middleware can determine the preset area A through the network connection situation. Exemplarily, the decision-making middleware can obtain the WIFI information of the electronic device from the perception module. When the WIFI information obtained by the decision-making middleware is the pre-set WIFI information, the electronic device is located in the preset area A. When the WIFI information obtained by the decision-making middleware is not the pre-set WIFI information, the electronic device is not located in the preset area A. In this way, the accuracy of the preset area A can be improved.
[0181] The electronic device can also determine the preset area A through other means (such as the position of the electronic device, etc.). No specific limitation is made here.
[0182] In the embodiments of the present application, when the electronic device meets condition 1, it continues to execute S608 until the electronic device exits the fence A. When condition 1 is met, the electronic device does not display the bus card corresponding to the bus. When the electronic device does not meet condition 1, it executes S609.
[0183] S609. When the electronic device does not meet condition 1, the decision-making center 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 may be that the motion speed of the electronic device is less than or equal to a preset value A. In this way, when the motion speed of the electronic device is relatively high, the bus card is not displayed, reducing interference to the user. The preset value A can be any value and is not specifically limited here.
[0185] When the motion speed of the electronic device is greater than the preset value A, continue to execute S609 until the electronic device exits fence A. When the motion speed of the electronic device is greater than the preset value A, the electronic device does not display the bus card. When the motion speed of the electronic device is less than or equal to the preset value A, the electronic device executes S610.
[0186] S610. When the motion state of the electronic device is walking or stationary, the decision-making center determines whether the current time is the commuting time period.
[0187] In the embodiments of the present application, the commuting time period can be set by the user or obtained by learning the user's behavior through a model, and is not specifically limited here.
[0188] S611. During the commuting time period, obtain the recognition result of the subway intention from the intention sharing module.
[0189] When there is a subway intention, no processing is performed. When there is no subway intention, the electronic device executes S613.
[0190] S612. During the non-commuting time period, the decision-making center detects whether the electronic device is within fence A after a duration A. The duration A can be 3 minutes, 2 minutes, or any value and is not specifically limited here.
[0191] Exemplarily, if within the duration A, the decision-making center does not receive a message indicating exiting fence A, the electronic device executes S613.
[0192] If it is within fence A after the duration A, the electronic device executes S613. If the electronic device exits fence A within the duration A, the electronic device does not display the bus card.
[0193] S613. The intention decision module determines whether the electronic device meets Condition 3. Condition 3 is related to the historical display situation of the bus card. The historical display situation of the bus card includes, but is not limited to: the number of display days (which can also be called exposure days) of the bus card within the preset time period A, the number of display times of the bus card within the preset time period A, the number of times of detecting an operation of entering the bus card within the preset time period A, the time of the most recent detected operation of canceling the bus card, etc. Specific limitations are not made here. The preset time period A can be within one week of the current time, within two weeks of the current time, or of any duration. Specific limitations are not made here.
[0194] In the first possible implementation manner, Condition 3 is related to the time of the most recent detected cancellation operation for the bus card.
[0195] Exemplarily, taking the time interval A between the time of the most recent detected operation of canceling the bus card and the current time as an example, when the time interval A is greater than the threshold A, the electronic device executes S614; when the time interval A is less than or equal to the threshold A, the electronic device does not perform any processing. The threshold A can be 10 days, 1 week, or any value. Specific limitations are not made here.
[0196] The most recent detected cancellation operation for the bus card can be an operation of the user long - pressing the bus card, or any type of operation. Specific limitations are not made here.
[0197] Exemplarily, refer to Figure 7 . The electronic device displays a bus card 701 in the interface shown in a of Figure 7 . The bus card 701 displays a prompt message 702. When the electronic device detects an operation of the user long - pressing the bus card 701, the electronic device enters the interface shown in c of Figure 7 . This interface displays a cancellation control 703. When the electronic device detects an operation of the user clicking the cancellation control 703, the electronic device enters the interface shown in d of Figure 7 . This interface does not display the bus card.
[0198] In the second possible implementation manner, Condition 3 is related to the exposure days of the bus card within the preset time period A and the proportion of entering the bus card. The proportion of entering the bus card is the ratio of the number of times of detecting an operation of entering the bus card within the preset time period A to the number of display times of the bus card within the preset time period A.
[0199] Exemplarily, when the number of exposure days is less than threshold B, the electronic device executes S614. When the number of exposure days is greater than or equal to threshold B within the preset time period A and the proportion of 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 of 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, and no specific limitation is made here. Proportion A can be 0.4, 0.5 or any value, and no specific limitation is made here.
[0200] In some embodiments, condition 3 is also related to the suppression days A and the suppression time. Suppression days A can be 10 days, 7 days or any value, and no specific limitation is made here.
[0201] Exemplarily, before executing S613, when the number of exposure days of the electronic device is greater than or equal to threshold B within the preset time period A and the proportion of entering the bus card is less than proportion A, the electronic device records the current time as the suppression time.
[0202] When the time interval between the time of executing S613 and the suppression time is less than the suppression days A, the electronic device does not perform any processing; when the time interval between the time of executing S613 and the suppression time is less than the suppression days 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 entering the bus card. In this way, the display of the bus card can be reduced and the interference to the user can be lowered. In addition, the bus card can be displayed after a period of time for bus reminders.
[0203] In the third possible implementation manner, condition 3 is related to whether the electronic device has displayed the bus card within the preset duration A.
[0204] The preset duration A can be 30 minutes, or 10 minutes or any value, and no specific limitation is made here.
[0205] In this way, the situation of repeated display of the bus card can be reduced and the disturbance to the user can be reduced.
[0206] The electronic device can implement S613 through any of the above possible implementation manners, and the electronic device can also implement S613 through any combination of the above possible implementation manners.
[0207] Exemplarily, taking the first possible implementation manner and the second possible implementation manner as examples, condition 3 is related to the time of the last detected cancellation operation for the bus card, the number of exposure days of the bus card within the preset time period A, and the proportion of entering the bus card.
[0208] Exemplarily, when the time interval A is greater than threshold A, the electronic device executes S614.
[0209] When the time interval A is less than or equal to the threshold A and the number of exposure days is less than the threshold B, the electronic device executes S614. When the time interval A is less than or equal to the threshold A, the number of exposure days within the preset time period A is greater than or equal to the threshold B, and the proportion of entering the bus card is less than the proportion A, the electronic device does not perform any processing. When the time interval A is less than or equal to the threshold A, the number of exposure days is greater than or equal to the threshold B, and the proportion of entering the bus card is greater than or equal to the proportion A, the electronic device executes S614.
[0210] S614. The decision-making center platform transmits a message for indicating the triggering of the bus intention to the plugin management module. The message includes: identifier A.
[0211] S615. The plugin management module transmits a message for indicating the display of the bus card to the bus card management module. The message includes: identifier A. The message may also include: a bus ride code link, bus route information, bus arrival time information, etc.
[0212] Exemplarily, the message for indicating the display of the bus card may include: a link to Application A. Application A is related to the bus service. Exemplarily, Application A may be a map application, or a payment application, etc. The map application may be, for example, Amap Application, Baidu Map Application, Tencent Map Application, Tencent Travel Application, etc.; the payment application may be, for example, Alipay Application, Wallet Application, etc.
[0213] S616. The bus card management module displays the bus card. The bus card includes: prompt information and / or controls corresponding to the bus service.
[0214] The prompt information may be "Please take the bus". The controls corresponding to the bus service include but are not limited to: a control for displaying the bus ride code, a control for displaying the bus route information, a control for displaying the real-time bus. No specific limitation is made here.
[0215] Exemplarily, see Figure 7 . The electronic device displays a bus card 701 as shown in a of Figure 7 . The bus card 701 displays prompt information 702. When the electronic device detects an operation of the user clicking on the bus card 701, the electronic device enters the interface shown in b of Figure 7 . This interface displays the bus ride code.
[0216] S617. The sensing module detects that the electronic device exits the bus fence and transmits a message for indicating the exit from the bus fence to the decision-making center platform.
[0217] The perception module can transmit a message for indicating exiting the bus fence to the decision-making center platform through the trigger management module. Adaptively, the trigger management module stops listening to the motion state and / or the state of the fence corresponding to the preset area A.
[0218] S618. The decision-making center platform transmits a message for indicating the intention of the bus to exit to the plugin management module.
[0219] S619. The plugin management module transmits a message for indicating canceling the display of the bus card to the bus card management module.
[0220] S620. The bus card management module cancels the display of the bus card. Adaptively, the electronic device does not display the bus card.
[0221] S621. The decision-making center platform stops listening to the motion state.
[0222] In some embodiments, the trigger management module stops listening to the motion state.
[0223] In this way, after the electronic device enters the fence A, it can confirm the display of the bus card according to the motion speed, network connection status, etc., prompt the user for bus services, and facilitate the user to take the bus.
[0224] Based on S613 above, the decision-making center platform and / or the trigger management module is also registered with the fence of the preset area A.
[0225] Taking the preset area A including home and company as an example, the decision-making center platform is also registered with a home fence and / or a company fence.
[0226] The home fence can be a WIFI fence, a geographical fence or any type of fence, and the company fence can be a WIFI fence, a geographical fence or any type of fence. No specific limitation is made here.
[0227] S622. The decision-making center platform registers the home fence and / or the company fence with the perception module.
[0228] In some embodiments, the trigger management module registers the home fence and / or the company fence with the perception module.
[0229] S623. When the perception module detects that the electronic device enters the home fence or the company fence, it transmits a message for indicating the triggering of the home fence or the triggering of the company fence to the intention recognition module.
[0230] In some embodiments, when the sensing module detects that the electronic device enters the home fence or the company fence, it transmits a message indicating the trigger of the home fence or the company fence to the trigger management module. The trigger management module transmits a message indicating the need to perform intent recognition to the intent recognition module. The intent recognition module performs intent recognition according to the above S608-S613.
[0231] S624. The decision-making center platform transmits a message indicating the intention to exit the bus service to the plugin management module.
[0232] S625. The plugin management module transmits a message indicating the cancellation of the bus card display to the bus card management module.
[0233] S626. The bus card management module cancels the display of the bus card.
[0234] Exemplarily, refer to Figure 7 . The bus card 701 is displayed on the interface shown in a of Figure 7 . The prompt message 702 is displayed on the bus card 701. When the electronic device detects that it exits the fence A, the electronic device enters the interface shown in d of Figure 7 . This interface does not display the bus card.
[0235] In this way, after the electronic device exits the fence A, it can cancel the display of the bus card, reducing interference to the user.
[0236] The above embodiments illustrate the process of displaying and canceling the bus card. Next, the process of displaying and canceling the card corresponding to the subway service will be described in conjunction with Figure 8 and Figure 9 .
[0237] Exemplarily, Figure 8 is a schematic flowchart of a method for displaying a subway card corresponding to the subway service provided by an embodiment of the present application. As shown in Figure 8 : The process includes:
[0238] S801. The scenario configuration module receives the scenario configuration information and transmits the scenario configuration information 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 recognition (e.g., S805-S807) and the logic for subway service recognition (e.g., S808-S813), etc.
[0240] The scenario configuration information may include: the identifier B of the subway service, the fence B corresponding to the subway service, and the intent recognition condition B corresponding to the subway service.
[0241] The identifier B is used to indicate subway services. The identifier B can be the name of the subway service, or the index value corresponding to the subway service, etc., and no specific limitation is made here.
[0242] The fence B includes but is not limited to: the location of the subway station, the surrounding environment information of the subway station, the scope of the fence, the accuracy, the radius of the fence, etc.
[0243] In the embodiments of the present application, the fence B is used as the trigger condition corresponding to the subway service. Other types of trigger conditions can also be set for the fence B, and no specific limitation is made here.
[0244] The intention recognition condition B can be related to one or more of the following states: movement speed, network connection status, historical display of subway cards, etc.
[0245] S802. The plug-in management module analyzes the scenario configuration information to obtain the identifier B, the fence B, and the intention recognition condition B.
[0246] S803. The plug-in management module transmits a message for indicating the registration of subway intention prediction to the trigger management module. The message includes: the identifier B, the fence B, and the intention recognition condition B.
[0247] S804. The trigger management module transmits a message for indicating the subscription of subway intention prediction to the decision-making center platform. The message includes: the identifier B, the fence B, and the intention recognition condition B.
[0248] The trigger management module can transparently transmit the identifier B, the fence B, and the intention recognition condition B to the decision-making center platform.
[0249] S805. The decision-making center platform configures and enables subway intention recognition prediction, and the decision-making center platform transmits a message for indicating the subscription of the fence to the perception module. The message includes: the fence B and the identifier B.
[0250] S806. After receiving the message for indicating the subscription of the fence, the perception module starts to detect whether the electronic device enters the fence B.
[0251] S807. When the perception module detects that the electronic device enters the fence B, it transmits a message for indicating entering the fence B to the decision-making center platform. The message includes: the identifier B.
[0252] In some embodiments, when the perception module detects that the electronic device enters the fence B, it transmits a message for indicating entering the fence B to the decision-making center platform through the trigger management module. The message includes: the identifier B.
[0253] Adaptively, the trigger management module registers the monitoring of the motion state and / or the monitoring of the state of the fence in the preset area B for the perception module. The preset area B can refer to the corresponding description below, and no description is made here.
[0254] The sensing module can transmit the motion state or information on the change in the motion state to the trigger management module. For specific details, please refer to the corresponding descriptions below. When the trigger management module detects a change in the motion state or a change in the state of the fence in the preset area B, it triggers the electronic device to perform the following S808 - S813 for subway intention recognition.
[0255] It can be understood that the trigger management module can register for listening to the motion state with the sensing module. Adaptively, the trigger management module can transmit the motion state information to the decision - making center platform at a certain frequency; or the sensing module can also transmit the information on the change in the motion state to the trigger management module when the motion state changes. No specific limitation is made here.
[0256] The motion state information and the information on the change in the motion state can refer to the corresponding descriptions above and will not be elaborated here.
[0257] In S808, the decision - making center platform determines whether the electronic device meets condition 4.
[0258] Condition 4 is used to indicate that the electronic device is located in the preset area B. There is no subway service corresponding to the preset area B. In this way, the preset area B in the fence B can be excluded, and when the electronic device is located in the preset area B, the subway card is not displayed, reducing interference to the user.
[0259] In some embodiments, the preset area B may include: home and / or company. In this way, when the electronic device is at home or at the company, the subway card is not displayed, reducing interference to the user.
[0260] In some embodiments, the decision - making center platform can determine the preset area B through the network connection status. Exemplarily, the decision - making center platform can obtain the WIFI information of the electronic device from the sensing module. When the WIFI information obtained by the decision - making center platform is the pre - set WIFI information, the electronic device is located in the preset area B; when the WIFI information obtained by the decision - making center platform is not the pre - set WIFI information, the electronic device is not located in the preset area B. In this way, the accuracy of the preset area A can be improved.
[0261] The electronic device can also determine the preset area B through other means (such as the location of the electronic device, etc.). No specific limitation is made here.
[0262] In the embodiments of the present application, when the electronic device meets condition 4, it continues to execute S808 until the electronic device exits the fence B. When condition 4 is met, the electronic device does not display the subway card corresponding to the subway. When the electronic device does not meet condition 4, it executes S809.
[0263] When the electronic device does not meet condition 4, the decision-making center determines whether the electronic device meets condition 2. Condition 2 is related to the motion state of the electronic device.
[0264] It can be understood that the decision-making center can register a listener for the motion state with the sensing module. Adaptively, the sensing module can transmit motion state information to the decision-making center at a certain frequency; or the sensing module can also transmit the change information of the motion state to the decision-making center when the motion state changes. No specific limitation is made here.
[0265] The motion state information and the change information of the motion state can refer to the corresponding descriptions above and will not be elaborated here.
[0266] In some embodiments, condition 2 can be that the motion speed of the electronic device is less than or equal to a preset value A. In this way, when the motion speed of the electronic device is relatively high, the subway card is not displayed, reducing interference to the user.
[0267] When the motion speed of the electronic device is greater than the preset value A, no processing is performed and the subway card corresponding to the subway is not displayed. When the motion speed of the electronic device is less than or equal to the preset value A, the electronic device executes S810.
[0268] S810: When the motion state of the electronic device is walking or stationary, the decision-making center determines whether the current time is the commuting time period. The commuting time period can refer to the corresponding descriptions above and will not be elaborated here.
[0269] S811: During the commuting time period, obtain the recognition result of the bus intention from the intention sharing module.
[0270] When there is a bus intention, no processing is performed. When there is no bus intention, the electronic device executes S813. In some embodiments, the electronic device may also not execute S811.
[0271] S812: During the non-commuting time period, the decision-making center detects whether the electronic device is within fence B after a duration B. The duration B can be 3 minutes, 2 minutes or any value, and no specific limitation is made here.
[0272] Exemplarily, if the decision-making center does not receive a message indicating to exit fence B within the duration B, the electronic device executes S813.
[0273] If the electronic device is within fence B after the duration B, the electronic device executes S813. If the electronic device exits fence B within the duration B, the electronic device does not display the subway card.
[0274] S813. The decision-making middleware determines whether the electronic device meets Condition 5. Condition 5 is related to the historical display situation of the subway card. The historical display situation of the subway card includes, but is not limited to, the number of display days (which can also be called exposure days) of the subway card within the preset time period B, the number of display times of the subway card within the preset time period B, the number of times of detecting the operation of entering the subway card within the preset time period B, the time of the most recent detected operation of canceling the subway card, etc. Specific limitations are not made 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 duration. Specific limitations are not made here.
[0276] In the first possible implementation, Condition 5 is related to the time of the most recent detected cancel operation for the subway card.
[0277] Exemplarily, taking the time interval between the time of the most recent detected operation of canceling the subway card and the current time as Time Interval B as an example, when Time Interval B is greater than Threshold C, the electronic device executes S814; when Time Interval A is less than or equal to Threshold C, the electronic device does not perform any processing. Threshold C can be 10 days, 1 week, or any value. Specific limitations are not made here.
[0278] The most recent detected cancel operation for the subway card can be an operation where the user long-presses the subway card, or any type of operation. Specific limitations are not made here.
[0279] Exemplarily, see Figure 9 In the interface shown in a of, the electronic device displays the subway card 901, and the subway card 901 displays the prompt message 902. When the electronic device detects the operation where the user long-presses the subway card 901, the electronic device enters the interface shown in c of Figure 9 This interface displays the cancel control 903. When the electronic device detects the operation where the user clicks the cancel control 903, the electronic device enters the interface shown in d of Figure 9 This interface does not display the subway card. Figure 9
[0280] In the second possible implementation, Condition 5 is related to the exposure days of the subway card within the preset time period B and the proportion of entering the subway card. The proportion of entering the subway card is the ratio of the number of times of detecting the operation of entering the subway card within the preset time period B to the number of display times of the subway card within the preset time period B.
[0281] Exemplarily, when the number of exposure days is less than the threshold D, the electronic device executes S814. When the number of exposure days is greater than or equal to the threshold D within the preset time period B and the proportion of entering the subway card 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 entering the subway card 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, and no specific limitation is made here. The proportion B can be 0.4, 0.5 or any value, and no specific limitation is made here.
[0282] In some embodiments, condition 5 is also related to the suppression days B and the suppression time. The suppression days B can be 10 days, 7 days or any value, and no specific limitation is made here.
[0283] Exemplarily, before executing S813, when the number of exposure days of the electronic device is greater than or equal to the threshold D within the preset time period B and the proportion of entering the subway card is less than the proportion B, the electronic device records the current time as the suppression time.
[0284] When the time interval between the time of executing S813 and the suppression time is less than the suppression days B, the electronic device does not perform any processing; when the time interval between the time of executing S813 and the suppression time is less than the suppression days B, the electronic device makes a judgment based on the number of exposure days of the subway card within the preset time period B and the proportion of entering the subway card. In this way, the display of the subway card can be reduced and the interference to the user can be lowered. In addition, the subway card can be displayed after a period of time for subway reminders.
[0285] In the third possible implementation manner, condition 5 is related to whether the electronic device has displayed the subway card within the preset duration B.
[0286] The preset duration B of the electronic device can be 30 minutes, can also be 10 minutes or any value, and no specific limitation is made here.
[0287] In this way, the situation of repeated display of the subway card can be reduced and the disturbance to the user can be reduced.
[0288] The electronic device can implement S813 through any one of the above possible implementation manners, and the electronic device can also implement S813 through any combination of the above possible implementation manners.
[0289] Exemplarily, taking the first possible implementation manner and the second possible implementation manner as examples, condition 5 is related to the time of the last detected cancellation operation for the subway card, the number of exposure days of the subway card within the preset time period B, and the proportion of entering the subway card.
[0290] Exemplarily, when the time interval B is greater than the threshold C, the electronic device executes S814.
[0291] When the time interval B is less than or equal to the threshold C and the number of exposure days is less than the threshold D, the electronic device executes S814. When the time interval B is less than or equal to the threshold C, the number of exposure days within the preset time period B is greater than or equal to the threshold C, and the proportion of subway cards entered is less than the proportion B, the electronic device does not perform any processing. When the time interval B is less than or equal to the threshold C, the number of exposure days is greater than or equal to the threshold D, and the proportion of subway cards entered is greater than or equal to the proportion B, the electronic device executes S814.
[0292] S814. The decision-making center platform transmits a message for indicating the triggering of the subway intention to the plugin management module, and the message includes: identifier B.
[0293] S815. The plugin management module transmits a message for indicating the display of the subway card to the subway card management module. The message includes: identifier B. The message may also include: subway ride code link, subway route information, subway arrival time information, etc.
[0294] Exemplarily, the message for indicating the display of the subway card may include: the link of application B. Application B is related to the subway service. Exemplarily, application B may be a map application, or a payment application, etc. The map application may be, for example, Amap application, Baidu Map application, Tencent Map application, Tencent Travel application, etc.; the payment application may be, for example, Alipay application, Wallet application, etc.
[0295] S816. The subway card management module displays the subway card. The subway card includes: prompt information and / or controls corresponding to the subway service.
[0296] The prompt information may be "Please take the subway", and the controls corresponding to the subway service include but are not limited to: the control for displaying the subway ride code, the control for displaying the subway route information, the control for displaying the real-time subway. There is no specific limitation here.
[0297] Exemplarily, see Figure 9 . The electronic device displays the subway card 901 in the interface shown in a of Figure 9 , and the subway card 901 displays the prompt information 902. When the electronic device detects the operation of the user clicking on the subway card 901, the electronic device enters the interface shown in b of Figure 9 , and this interface displays the subway ride code.
[0298] S817. The perception module detects that the electronic device exits the subway fence and transmits a message for indicating the exit from the subway fence to the decision-making center platform.
[0299] S818. The decision-making middle platform transmits a message indicating the intention to exit the subway to the plug-in management module.
[0300] S819. The plug-in management module transmits a message indicating the cancellation of the subway card display to the subway card management module.
[0301] S820. The subway card management module cancels the display of the subway card.
[0302] S821. The decision-making middle platform stops listening for the motion state.
[0303] In some embodiments, the trigger management module stops listening for the motion state.
[0304] In this way, after the electronic device enters the fence B, it can confirm the display of the bus card according to the motion speed, network connection status, etc., prompt the user for subway services, and facilitate the user to take the subway.
[0305] Based on the above S813, the decision-making middle platform is also registered with the fence of the preset area B.
[0306] Taking the preset area A including home and company as an example, the decision-making middle platform and / or the trigger management module are also registered with the home fence and / or the company fence.
[0307] The home fence can be a WIFI fence, a geographical fence or any type of fence, and the company fence can be a WIFI fence, a geographical fence or any type of fence. No specific limitation is made here.
[0308] S822. The decision-making middle platform registers the home fence and / or the company fence with the perception module.
[0309] In some embodiments, the trigger management module registers the home fence and / or the company fence with the perception module.
[0310] S823. When the perception module detects that the electronic device enters the home fence or the company fence, it transmits a message indicating the trigger of the home fence or the company fence to the recognition module.
[0311] In some embodiments, when the perception module detects that the electronic device enters the home fence or the company fence, it transmits a message indicating the trigger of the home fence or the company fence to the trigger management module. The trigger management module transmits a message indicating the need to perform intention recognition to the intention recognition module. The intention recognition module performs intention recognition according to the above S808 - S813.
[0312] S824. The decision-making middle platform transmits a message indicating the intention to exit the subway to the plug-in management module.
[0313] S825. The plug-in management module transmits a message for instructing to cancel the display of the subway card to the subway card management module.
[0314] S826. The subway card management module cancels the display of the subway card.
[0315] Exemplarily, see Figure 9 . The electronic device displays a subway card 901 in the interface shown in a of Figure 9 , and a prompt message 902 is displayed on the subway card 901. When the electronic device detects that the electronic device exits the fence B and enters the interface shown in d of Figure 9 , this interface does not display the subway card.
[0316] In this way, after the electronic device exits the fence B, the display of the subway card can be cancelled, reducing the interference to the user.
[0317] Exemplarily, Figure 10 is a schematic flow chart of a method for displaying a store card corresponding to a store service provided by an embodiment of the present application. As shown in Figure 10 , the process includes:
[0318] S1001. The scene configuration module receives the scene configuration information and transmits the scene configuration information to the plug-in management module.
[0319] The scene configuration information is used to indicate the judgment logic corresponding to the store service. For example, the logic for triggering the recognition of the store service (for example, S1005 - S1007) and the logic for recognizing the store service (for example, S1008 - S1011), etc.
[0320] The scene configuration information may include: the identifier C of the store service, the fence C corresponding to the store service, and the intention recognition condition C corresponding to the store service.
[0321] The identifier C is used to indicate the store service. The identifier C may be the name of the store service or the index value corresponding to the store service, etc., and no specific limitation is made here.
[0322] The fence C includes but is not limited to: the location of the store, the surrounding environment information of the store, the range of the fence, the accuracy, the radius of the fence, etc.
[0323] In the embodiment of the present application, the fence C is used as the trigger condition corresponding to the store service. Other types of trigger conditions may also be set for the fence C, and no specific limitation is made here.
[0324] The intention recognition condition C may be related to one or more of the following states: movement speed, network connection state, historical display situation of the store card, etc.
[0325] S1002. The plugin management module parses the scenario configuration information to obtain identifier C, fence C, and intention recognition condition C.
[0326] S1003. The plugin management module transmits a message for indicating the prediction of the intention to register a store to the trigger management module. The message includes: identifier C, fence C, and intention recognition condition C.
[0327] S1004. The trigger management module transmits a message for indicating the prediction of the intention to subscribe to a store to the decision-making center platform. The message includes: identifier C, fence C, and intention recognition condition C.
[0328] The trigger management module can pass through identifier C, fence C, and intention recognition condition C to the decision-making center platform.
[0329] S1005. The decision-making center platform configures and enables the recognition and prediction of the store intention, and the decision-making center platform transmits a message for indicating the subscribed fence to the perception module. The message includes: fence C and identifier C.
[0330] S1006. After receiving the message for indicating the subscribed fence, the perception module starts to detect whether the electronic device enters fence C.
[0331] S1007. When the perception module detects that the electronic device enters fence C, it transmits a message for indicating the entry into fence C to the decision-making center platform. The message includes: identifier C.
[0332] In some embodiments, when the perception module detects that the electronic device enters fence C, it transmits a message for indicating the entry into fence C to the decision-making center platform via the trigger management module. The message includes: identifier C.
[0333] Adaptively, the trigger management module registers the monitoring of the motion state and / or the monitoring of the state of the fence in the preset area C with the perception module.
[0334] The perception module can transmit the motion state or the change information of the motion state to the trigger management module. Specifically, reference can be made to the corresponding description below. When the trigger management module detects a change in the motion state or a change in the state of the fence in the preset area C, it triggers the electronic device to perform the recognition of the subway intention in the following S1008 - S1011. The preset area C can be referred to the corresponding description below and will not be described here.
[0335] It can be understood that the trigger management module can register the monitoring of the motion state with the perception module. Adaptively, the trigger management module can transmit the motion state information to the decision-making center platform at a certain frequency; or the perception module can also transmit the change information of the motion state to the trigger management module when the motion state changes. No specific limitation is made here.
[0336] The information on the motion state and the change information of the motion state can be referred to the corresponding descriptions above, and will not be elaborated here.
[0337] S1008. The decision-making center platform determines whether the electronic device meets condition 6.
[0338] Condition 6 is used to indicate that the electronic device is located in the preset area C. There is no corresponding store service in the preset area C. In this way, the preset area C in the fence C can be excluded. When the electronic device is located in the preset area C, the store card is not displayed, reducing the interference to the user.
[0339] In some embodiments, the preset area C may include: home and / or company. In this way, when the electronic device is at home or in the company, the store card is not displayed, reducing the interference to the user.
[0340] In some embodiments, the decision-making center platform can determine the preset area C through the network connection situation. Exemplarily, the decision-making center platform can obtain the WIFI information of the electronic device from the sensing module. When the WIFI information obtained by the decision-making center platform is the pre-set WIFI information, the electronic device is located in the preset area C. When the WIFI information obtained by the decision-making center platform is not the pre-set WIFI information, the electronic device is not located in the preset area C. In this way, the accuracy of the preset area C can be improved.
[0341] The electronic device can also determine the preset area C through other means (for example, the location of the electronic device, etc.). No specific limitation is made here.
[0342] In the embodiments of the present application, when the electronic device meets condition 6, S1008 is continuously executed until the electronic device exits the fence C. When condition 6 is met, the store card corresponding to the store is not displayed on the electronic device. When the electronic device does not meet condition 6, S1009 is executed.
[0343] S1009. When the electronic device does not meet condition 6, the decision-making center platform determines whether the electronic device meets condition 2. Condition 2 is related to the motion state of the electronic device.
[0344] It can be understood that the decision-making center platform can register the listening of the motion state with the sensing module. Adaptively, the sensing module can transmit the motion state information to the decision-making center platform at a certain frequency; or the sensing module can also transmit the change information of the motion state to the decision-making center platform when the motion state changes. No specific limitation is made here.
[0345] The information on the motion state and the change information of the motion state can be referred to the corresponding descriptions above, and will not be elaborated here. In some embodiments, condition 2 may be that the motion speed of the electronic device is less than or equal to the preset value A. In this way, when the motion speed of the electronic device is relatively large, the store card is not displayed, reducing the interference to the user.
[0346] When the moving speed of the electronic device is greater than the preset value A, no processing is performed and the store card corresponding to the store is not displayed. When the moving speed of the electronic device is less than or equal to the preset value A, the electronic device executes S1010.
[0347] S1010. When the motion state of the electronic device is walking or stationary, the decision-making middle platform determines whether the electronic device meets condition 7. Condition 7 is related to the historical residence situation of the store.
[0348] Condition 7 can be related to the number of days of entering the store within the preset time period C and the number of residence times. The preset time period C can be within one week of the current time, within two weeks of the current time, or of any duration, and no specific limitation is made here.
[0349] The number of days of entering the store within the preset time period C is greater than or equal to the threshold value E; or, the number of days of entering the store within the preset time period C is less than the threshold value E, and the number of residence times is greater than the threshold value G. The threshold value E can be 10 days, 1 week, or any value, and no specific limitation is made here. The threshold value G can be 10 times, 4 times, or any value, and no specific limitation is made here.
[0350] S1011. Whether the electronic device meets condition 8. Condition 8 is related to the historical display situation of the store card. The historical display situation of the store card includes but is not limited to: the number of display days (which can also be called the exposure days) of the store card within the preset time period D, the number of display times of the store card within the preset time period D, the number of times of detecting the operation of entering the store card within the preset time period D, the time of the most recent detected operation of canceling the store card, etc., and no specific limitation is made here. The preset time period D can be within one week of the current time, within two weeks of the current time, or of any duration, and no specific limitation is made here.
[0351] In a possible implementation method 1, condition 8 is related to the time of the most recent detected cancellation operation for the store card.
[0352] Exemplarily, taking the time interval C between the time of the most recent detected operation of canceling the store card and the current time as an example, when the time interval C is greater than the threshold value H, the electronic device executes S1014; when the time interval A is less than or equal to the threshold value H, the electronic device does not perform any processing. The threshold value H can be 5 days, 7 days, or any value, and no specific limitation is made here.
[0353] In a possible implementation method 2, condition 8 is related to the exposure days of the store card within the preset time period D and the proportion of entering the store card. The proportion of entering the store card is the ratio of the number of times of detecting the operation of entering the store card within the preset time period D to the number of display times of the store card within the preset time period D.
[0354] Exemplarily, when the number of exposure days is less than threshold I, the electronic device executes S1014. When the number of exposure days is greater than or equal to threshold I within the preset time period D and the proportion of entering the store card 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 entering the store card is greater than or equal to proportion C, the electronic device executes S1014. Threshold I can be 5 days, 7 days or any value, and no specific limitation is made here. Proportion C can be 0.4, 0.5 or any value, and no specific limitation is made here.
[0355] In some embodiments, condition 8 is also related to the suppression days C and the suppression time.
[0356] Exemplarily, before executing S1011, when the number of exposure days of the electronic device is greater than or equal to threshold I within the preset time period D and the proportion of entering the store card is less than proportion C, the electronic device records the current time as the suppression time.
[0357] When the time interval between the time of 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 the time of 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 entering the store card. In this way, the display of the store card can be reduced and the interference to the user can be lowered. In addition, the store card can be displayed after a period of time for store prompting.
[0358] In the third possible implementation manner, condition 8 is related to whether the electronic device has displayed the store card within the preset duration C.
[0359] The preset duration C can be 30 minutes, can also be 10 minutes or any value, and no specific limitation is made here.
[0360] In this way, the situation of repeated display of the store card can be reduced and the disturbance to the user can be reduced.
[0361] The electronic device can implement S1011 through any of the above possible implementation manners, and the electronic device can also implement S1011 through any combination of the above possible implementation manners.
[0362] Exemplarily, taking the first possible implementation manner and the second possible implementation manner as examples, condition 8 is related to the time of the last detected cancellation operation for the store card, the number of exposure days of the store card within the preset time period D, and the proportion of entering the store card.
[0363] Exemplarily, when the time interval C is greater than 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 entering the store card 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 entering the store card is greater than or equal to the proportion C, the electronic device executes S1012.
[0365] S1012. The decision-making middle platform transmits a message for indicating the triggering of the store intention to the plug-in management module. The message includes: identifier C.
[0366] S1013. The plug-in management module transmits a message for indicating the display of the store card to the store card management module. The message includes: identifier C. The message may also include: the store applet link, the store route information, the store arrival time information, etc.
[0367] Exemplarily, the message for indicating the display of the store card may include: the link of application C. Application C is related to the store business. Exemplarily, application C may be a social application, or a payment application, etc. The social application may be, for example, WeChat application, etc.; the payment application may be, for example, Alipay application, wallet application, etc.
[0368] S1014. The store card management module displays the store card. The store card includes: prompt information and / or controls corresponding to the store business.
[0369] The prompt information may be "Please take the store", and the controls corresponding to the store business include but are not limited to: the control for displaying the store applet, the control for displaying the store route information, the control for displaying the real-time store. No specific limitation is made here.
[0370] S1015. The perception module detects that the electronic device exits the store fence and transmits a message for indicating the exit from the store fence to the decision-making middle platform.
[0371] S1016. The decision-making middle platform transmits a message for indicating the intention to exit the store to the plug-in management module.
[0372] S1017. The plug-in management module transmits a message for indicating the cancellation of the store card display to the store card management module.
[0373] S1018. The store card management module cancels the display of the store card.
[0374] S1019. The decision-making middle platform stops listening for the motion state.
[0375] In some embodiments, the trigger management module stops listening for the motion state.
[0376] In this way, after the electronic device enters the fence C, it can confirm the display of the bus card according to the motion speed, network connection status, etc., prompt the user for store services, and facilitate the user.
[0377] On the basis of the above S1011, the decision-making center platform and / or the trigger management module are also registered with the fence of the preset area C.
[0378] Taking the preset area A including home and company as an example, the decision-making center platform is also registered with a home fence and / or a company fence.
[0379] The home fence can be a WIFI fence, a geographical fence or any type of fence, and the company fence can be a WIFI fence, a geographical fence or any type of fence. No specific limitation is made here.
[0380] S1020: The decision-making center platform registers the home fence and / or the company fence with the sensing module.
[0381] In some embodiments, the trigger management module registers the home fence and / or the company fence with the sensing module.
[0382] S1021: When the sensing module detects that the electronic device enters the home fence or the company fence, it transmits a message for indicating the triggering of the home fence or the company fence to the recognition module.
[0383] In some embodiments, when the sensing module detects that the electronic device enters the home fence or the company fence, it transmits a message for indicating the triggering of the home fence or the company fence to the trigger management module. The trigger management module transmits a message for indicating intent recognition to the intent recognition module. The intent recognition module performs intent recognition according to the above S1008 - S1011.
[0384] S1022: The decision-making center platform transmits a message for indicating the exit of the store intent to the plugin management module.
[0385] S1023: The plugin management module transmits a message for indicating the cancellation of the store card display to the store card management module.
[0386] S1024: The store card management module cancels the display of the store card.
[0387] In this way, after the electronic device exits the fence C, it can cancel the display of the store card and reduce the interference to the user.
[0388] Exemplarily, Figure 11 It is a schematic flowchart of an interface display method provided by an embodiment of the present application. As Figure 11As shown, the method includes:
[0389] S1101. At a first moment, the electronic device enters a first fence. The moving speed of the electronic device is a first speed, and the electronic device displays a first card corresponding to the first fence.
[0390] The first speed can be any speed and is not specifically limited here. The first fence can be a fence corresponding to any service (any POI point). The service can be: bus service, subway service, store service, scenic spot service, etc. The corresponding POI points can be bus stops, subway stations, stores, scenic spots, etc. The first card can be a card corresponding to the service and is not specifically limited here. The first card is used to display prompt information, to-be-executed information, etc. corresponding to the service and is not specifically limited here. The first card can correspond to the above-mentioned bus card, subway card, store card. The first fence can be any type of fence, such as a geographic fence, a time fence, etc. and is not specifically limited here.
[0391] S1102. At a second moment, the electronic device enters a second fence. The moving speed of the electronic device is a second speed, and the electronic device does not display a 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 and is not specifically limited here. The second fence can be a fence corresponding to any service (any POI point). The service can be: bus service, subway service, store service, scenic spot service, etc. The corresponding POI points can be bus stops, subway stations, stores, scenic spots, etc. The first card can be a card corresponding to the service and is not specifically limited here. The second card is used to display prompt information, to-be-executed information, etc. corresponding to the service and is not specifically limited here. The second card can correspond to the above-mentioned bus card, subway card, store card. The second fence can be any type of fence, such as a geographic fence, a time fence, etc. and is not specifically limited here.
[0393] S1103. From the second moment to a third moment, the electronic device continuously stays in the second fence, and at the third moment, the moving speed of the electronic device is a third speed, and the electronic device displays the second card. The third speed is less than the second speed.
[0394] The third speed can be any speed and is not specifically limited here.
[0395] In this way, when the moving speed of the electronic device is relatively high, no card is pushed, reducing interference to the user.
[0396] In a possible implementation, from the second moment to the third moment, the electronic device continuously stays within the second fence, and the moving speed of the electronic device at the third moment is the third speed. The electronic device displays the second card, including: starting from the second moment, the electronic device detects the moving speed 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, and the second speed is greater than the first threshold.
[0397] In this way, the electronic device can monitor the moving speed. When the speed is less than the threshold, it displays the card. When the speed is greater than the threshold, it does not display the card, reducing interference to the user.
[0398] In a possible implementation, 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 center of the electronic device, and the first message is used to indicate entering the second fence; in response to the first message, the decision-making center confirms that the motion state is the first type, and the first type is used to indicate that the moving 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 center, and the second message is used to indicate that the motion state of the electronic device is the second type; in response to the second message, the electronic device displays the second card.
[0399] The first type is different from the second type. The first type can be, for example, taking a vehicle, cycling, etc. The second type can be, for example, stationary, walking, etc.
[0400] In a possible implementation, the method further includes: from the third moment to the fourth moment, the electronic device continuously stays within the second fence, and at the fourth moment, the electronic device enters the fourth fence. The electronic device does not display the second card, and there is no service corresponding to the second fence in the fourth fence.
[0401] The fourth fence can correspond to the fence of the above-mentioned preset area A, the fence of preset area B, or the fence of preset area C. No specific limitation is made here.
[0402] In this way, when there is no service corresponding to the second fence, the card is not displayed, reducing interference to the user.
[0403] In a possible implementation, from the third moment to the fourth moment, the electronic device continuously stays within the second fence, and at the fourth moment, the electronic device enters the fourth fence. The electronic device does not display the second card, including: at the fourth moment, the sensing module of the electronic device transmits a third message to the decision-making center of the electronic device, and the third message is used to indicate that the electronic device enters 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, for example, a geographical fence, a time fence, etc.
[0405] In a possible implementation, the fourth fence is a WIFI fence, where WIFI is the network used in a pre-set home and / or the network used in a pre-set company.
[0406] In this way, the card is not displayed at home or in the company, reducing interference.
[0407] In a possible implementation, from the fourth moment to the fifth moment, the electronic device continuously stays in the second fence and the fourth fence, and at the fifth moment, when the electronic device exits the fourth fence, the electronic device displays the second card.
[0408] The electronic device can monitor the fourth fence and trigger intent recognition when the fence state changes (e.g., from entering to exiting, from exiting to entering) to confirm whether to display the card. When leaving home or the company, it can trigger recognition, display the card, and prompt the user for convenient operation.
[0409] In a possible implementation, from the fourth moment to the fifth moment, the electronic device continuously stays in the second fence and the fourth fence, and at the fifth moment, when the electronic device exits the fourth fence, the electronic device displays the second card, including: at the fifth moment, the sensing module of the electronic device transmits a fourth message to the decision-making center of the electronic device, and the fourth message is used to indicate that the electronic device exits the fourth fence; in response to the fourth message, the electronic device displays the second card.
[0410] In a possible implementation, the method further includes: from the third moment to the sixth moment, the electronic device continuously stays in the second fence, and at the sixth moment, the moving speed of the electronic device is the fourth speed, and the electronic device does not display the second card, where the fourth speed is greater than the second speed.
[0411] The fourth speed can be any speed and is not specifically limited here.
[0412] In this way, when the motion state changes, intent recognition can be triggered to confirm whether to display the card. When the moving speed is relatively high, the card is not displayed, reducing interference to the user.
[0413] In a possible implementation, from the third moment to the sixth moment, the electronic device continuously stays in the second fence, and at the sixth moment, the moving 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 sensing module of the electronic device transmits a fifth message to the decision-making center of the electronic device, and the fifth message is used to indicate that the motion 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 a possible implementation, the method further includes: at a seventh moment, the electronic device exits the second fence, and the electronic device does not display the second card; at an eighth moment, the electronic device enters the third fence, and at the eighth moment, the moving speed of the electronic device is a fifth speed, and the electronic device does not display the second card, where 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; a first time interval is greater than a 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 and is not specifically limited here. Exemplarily, the service type can be bus, subway, store, etc., which is not specifically limited here. The preset time interval can be 15 minutes, 10 minutes or any duration and is not specifically limited here.
[0416] In this way, if a card of the same type has been triggered within a certain period of time, it can not be displayed. It can reduce the interference to the user caused by multiple displays in a short period of time.
[0417] In a possible implementation, at the eighth moment, the electronic device enters the second fence, and at the eighth moment, the moving speed of the electronic device is a fifth speed, and 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 center of the electronic device, and the sixth message is used to indicate entering the third fence; when the decision-making center confirms that the first time interval is less than the preset time interval, the electronic device does not display the second card.
[0418] In a possible implementation, the method further includes: at a ninth moment, the electronic device exits the second fence, and the electronic device does not display the second card; at a tenth moment, the electronic device enters the fourth fence, and at the tenth moment, the moving speed of the electronic device is a sixth speed, and the electronic device displays the second card, where the sixth speed is less than the second speed; wherein, the service type corresponding to the fourth fence is the same as the service type corresponding to the second fence; a 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 and is not specifically limited here. The preset distance can be 1 kilometer, or 2 kilometers or any value and is not specifically limited here.
[0420] In this way, within a relatively short distance range, the card can be displayed, which can reduce the interference to the user caused by multiple displays within a short distance.
[0421] In a possible implementation, at the tenth moment, the electronic device enters the fourth fence, and the moving 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 center of the electronic device, and the seventh message is used to indicate entering the fourth fence; when the decision-making center confirms that the first distance is greater than the preset distance, the electronic device does not display the second card.
[0422] In a 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 moving speed of the electronic device is the seventh speed, and 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 continuously stays in the fifth fence, and at the thirteenth moment, the moving speed of the electronic device is the eighth speed, the electronic device enters the sixth fence, the electronic device 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, and the eighth speed is less than the second speed.
[0423] The seventh speed can be any speed and is not specifically limited here. The eighth speed can be any speed and is not specifically limited here. Exemplarily, the service corresponding to the fifth fence can be the subway service, and the service corresponding to the fifth fence can be the bus service.
[0424] In this way, when there are cards of the same type, another card can be preferentially recommended. The interference of multiple services of the same type is reduced.
[0425] In a possible implementation, from the twelfth moment to the thirteenth moment, the electronic device continuously stays in the fifth fence, and at the thirteenth moment, the moving speed of the electronic device is the eighth speed, the electronic device enters the sixth fence, the electronic device 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 center of the electronic device, and the eighth message is used to indicate entering the sixth fence; when the decision-making center confirms the display of the third card, the electronic device does not display the second card.
[0426] In a possible implementation, when the decision-making center confirms the display of the third card, the electronic device does not display the second card, including: the intention recognition module in the decision-making center transmits a ninth message to the intention sharing module in the electronic device, and the ninth message is used to query whether the third card is displayed; in response to the ninth message, the intention sharing module transmits a tenth message to the intention recognition module, and the tenth message is used to indicate the display of the third card.
[0427] The third card can correspond to the subway service, and the tenth message can be used to indicate having a subway intention. It is not specifically limited here.
[0428] In a possible implementation, the method further includes: at the fourteenth moment, the electronic device enters the second fence, and at the fourteenth moment, the moving 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; within a preset duration starting from the fourteenth moment, the electronic device continuously stays in the second fence, and the moving speed of the electronic device continuously remains less than the second speed. The electronic device does not display the second card; wherein, within 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 may be from 10:00 to 11:00, or from 3:00 to 4:00 or any time period, and no specific limitation is made here.
[0430] The ninth speed may be any speed, and no specific limitation is made here. In this way, during non-commuting hours, the card display is delayed for a period of time to reduce interference to the user.
[0431] In a possible implementation, the method further includes: at the fifteenth moment, the electronic device enters the second fence, and at the fifteenth moment, the moving 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 when the electronic device conducts the business corresponding to the second card within N days before the third moment; M is the 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 when the duration of the electronic device entering the second fence within N days before the third moment is greater than the second threshold, and X is the third threshold; at the fifteenth moment, C is less than M, and D is less than X, where D is the number of days when the duration of the electronic device entering the second fence within N days before the fifteenth moment is greater than the second threshold.
[0432] Specifically, reference may be made to the above condition 7, and no specific limitation is made here. A may be 5 days, 7 days or any value, and no specific limitation is made here. M may be 10 days, 15 days or any value, and no specific limitation is made here. B may be 3 days, 5 days or any value, and no specific limitation is made here. The second preset value may be 10 minutes, 5 minutes or any duration, and no specific limitation is made here. C may be 6 days, 8 days or any value, and no specific limitation is made here.
[0433] The tenth speed may be any speed, and no specific limitation is made here. In this way, it can be confirmed whether to display the card according to the display situation of the user's stay within a period of time, reducing interference to the user.
[0434] In a possible implementation, the method further includes: at the sixteenth moment, the electronic device enters the second fence, and at the sixteenth moment, the moving 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 O, where E is the number of times the electronic device displays the second card within P days before the third moment, O is the third threshold, and P is the fourth threshold; or, at the third moment, E is greater than or equal to O, and the electronic device detects that the number of operations of entering the second card 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 operations of entering the second card is greater than the fifth threshold, where F is the number of times the electronic device displays the second card within P days before the sixteenth moment.
[0435] The third threshold can be 10 days, 15 days or any value, and 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. Specifically, reference can be made to the above-mentioned Condition 8, Condition 3, Condition 5, etc.
[0436] The eleventh speed can be any speed, and no specific limitation is made here. In this way, it is possible to confirm whether to display the card according to the entry or cancellation situation of the card within a period of time, reducing interference to the user.
[0437] In a 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 moving 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 the second preset time interval.
[0438] The cancellation operation can be an operation where the user drags the card to cancel, or an operation where the user clicks the cancellation control, and no specific limitation is made here.
[0439] In this way, it is possible to confirm whether to display the card according to the card cancellation situation within a period of time, reducing interference to the user.
[0440] It should be noted that the module names involved in the embodiments of the present application can all be defined as other names, as long as the functions of each module can be realized, and no specific limitation is made to 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 for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data that have been authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or refuse.
[0442] The interface display method of the embodiments of the present application has been described above. Next, the device for executing the above method provided by the embodiments of the present application will be described. Those skilled in the art can understand that the method and the device can be combined and cited with each other, and the relevant device provided by the embodiments of the present application can execute the steps in the above method.
[0443] The interface display method provided by the embodiments of the present application can be applied to an electronic device with communication functions. The electronic device includes a terminal device, and the specific device form of the terminal device and the like can refer to the above relevant description, which will not be elaborated here.
[0444] The embodiments of the present application provide an electronic device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code. The computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the above method.
[0445] The embodiments of the present application provide a chip. The chip includes a processor, and the processor is used to call the computer program in the memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those of the above relevant embodiments, which will not be elaborated here.
[0446] The present application provides a chip or a chip system, which includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected by a line, and the at least one processor is used to run a computer program or instruction to execute the above method. Among them, the communication interface in the chip can be an input / output interface, a pin, a circuit, etc.
[0447] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the above-mentioned method is implemented. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored on a computer-readable medium or transmitted on a computer-readable medium as one or more instructions or codes. The computer-readable medium can include a computer storage medium and a communication medium, 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 a possible implementation, the computer-readable medium may include RAM, ROM, a compact disc read-only memory (CD-ROM), or other optical disc storage, a magnetic disk storage, or other magnetic storage device, or any other medium targeted to carry the required program code in the form of instructions or data structures and accessible by a computer. Moreover, any connection is properly termed 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, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. As used herein, disk and disc include optical disc, laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically, while discs reproduce data optically using lasers. The above combinations should also be included within the scope of the computer-readable medium.
[0449] The embodiments of the present application provide a computer program product. The computer program product includes a computer program. When the computer program is run, the computer is caused to execute the above-mentioned method.
[0450] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable devices to generate a machine, such that the instructions executed by the processing unit of the computer or other programmable data processing devices generate for implementation in the process Figure 1means for the functions specified in one or more processes and / or boxes Figure 1 means for the functions specified in one or more boxes
[0451] In the above specific embodiments, the purpose, technical solution and beneficial effects of the present invention have been further described in detail. It should be understood that the above are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solution of the present invention shall be included in the protection scope of the present invention.
Claims
1. An interface display method, characterized in that, Including: At a first moment, the electronic device enters a first fence, the moving 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 moving speed of the electronic device is a second speed, and the electronic device does not display a second card corresponding to the second fence, where 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 continuously stays in the second fence, and at the third moment, the moving speed of the electronic device is a third speed, and the electronic device displays the second card, where the third speed is less than the second speed.
2. The method according to claim 1, characterized in that The description that from the second moment to the third moment, the electronic device continuously stays in the second fence, and at the third moment, the moving speed of the electronic device is a third speed, and the electronic device displays the second card, includes: From the second moment, the electronic device detects the moving speed of the electronic device; When the electronic device detects that the third speed is less than or equal to a 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, wherein 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 center of the electronic device, and the first message is used to indicate entering the second fence; In response to the first message, the decision-making center confirms that the motion state is a first type, and the first type is used to indicate that the moving 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 center, and the second message is used to indicate 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 to 3, characterized in that, The method further includes: From the third moment to a fourth moment, the electronic device continuously stays in the second fence, and at the fourth moment, the electronic device enters a fourth fence, and the electronic device does not display the second card, and the fourth fence does not correspond to the service corresponding to the second fence.
5. The method according to claim 4, characterized in that The description that from the third moment to the fourth moment, the electronic device continuously stays in the second fence, and at the fourth moment, the electronic device enters the fourth fence, and the electronic device does not display the second card, includes: At the fourth moment, the sensing module of the electronic device transmits a third message to the decision-making center of the electronic device, and the third message is used to indicate that the electronic device enters 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, wherein The fourth fence is a WIFI fence, and the WIFI is a network used in a pre-set home and / or a network used in a pre-set company.
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 continuously stays in the second fence and the fourth fence, and at the fifth moment, the electronic device exits the fourth fence, and the electronic device displays the second card.
8. The method according to claim 7, wherein The step that from the fourth moment to the fifth moment, the electronic device continuously stays in the second fence and the fourth fence, and at the fifth moment, the electronic device exits the fourth fence, and the electronic device displays the second card, includes: At the fifth moment, the sensing module of the electronic device transmits a fourth message to the decision-making center platform of the electronic device, and the fourth message is used to indicate that the electronic device exits 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 continuously stays in the second fence, and at the sixth moment, the moving speed of the electronic device is the fourth speed, and 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, The step that from the third moment to the sixth moment, the electronic device continuously stays in the second fence, and at the sixth moment, the moving speed of the electronic device is the fourth speed, and the electronic device does not display the second card, includes: At the sixth moment, the sensing module of the electronic device transmits a fifth message to the decision-making center platform of the electronic device, and the fifth message is used to indicate that the motion state of the electronic device is 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 does not display the second card; At the eighth moment, the electronic device enters the third fence, and at the eighth moment, the moving speed of the electronic device is the fifth speed, and 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.
12. The method according to claim 11, wherein The step that at the eighth moment, the electronic device enters the second fence, and at the eighth moment, the moving speed of the electronic device is the fifth speed, and the electronic device does not display the second card, includes: At the eighth moment, the sensing module of the electronic device transmits a sixth message to the decision-making center platform of the electronic device, and the sixth message is used to indicate entering the third fence; When the decision-making center platform confirms that the first time interval is less than the preset time interval, the electronic device does 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 does not display the second card; At the tenth moment, the electronic device enters the fourth fence, and at the tenth moment, the moving speed of the electronic device is the sixth speed, and the electronic device displays the second card, and the sixth speed is less than the second speed; Among them, the service type corresponding to the fourth fence is the same as the service 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.
14. The method according to claim 13, characterized in that, At the tenth moment, the electronic device enters the fourth fence, and the moving speed of the electronic device at the tenth moment is the sixth speed, and 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 center platform of the electronic device, and the seventh message is used to indicate entering the fourth fence; When the decision-making center platform confirms that the first distance is greater than the preset distance, the electronic device does 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 moving speed of the electronic device is the seventh speed, and 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 continuously stays in the fifth fence, and at the thirteenth moment, the moving speed of the electronic device is the eighth speed, and the electronic device enters the sixth fence, and the electronic device 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, and 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 continuously stays in the fifth fence, and at the thirteenth moment, the moving speed of the electronic device is the eighth speed, and the electronic device enters the sixth fence, and the electronic device 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 center platform of the electronic device, and the eighth message is used to indicate entering the sixth fence; When the decision-making center platform confirms the display of the third card, the electronic device does not display the second card.
17. The method according to claim 16, wherein When the decision-making center platform confirms the display of the third card, the electronic device does not display the second card, including: The intention recognition module in the decision-making center platform transmits a ninth message to the intention sharing module in the electronic device, and the ninth message is used to query whether the third card is displayed; In response to the ninth message, the intention sharing module transmits a tenth message to the intention recognition module, and the tenth message is used to indicate the display of the third card.
18. The method according to any one of claims 1 to 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 moving speed of the electronic device is the ninth speed, and the electronic device does not display the second card, and the ninth speed is less than the second speed; Within a preset duration starting from the fourteenth moment, the electronic device continuously stays within the second fence, and the movement speed of the electronic device continuously remains less than the second speed, and the electronic device does not display the second card; wherein, within 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.
19. The method according to any one of claims 1 to 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, and 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 when the electronic device conducts the service corresponding to the second card within N days before the third moment; M is the 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 when the duration that the electronic device enters the second fence within N days before the third moment is greater than the second threshold, and X is the third threshold; At the fifteenth moment, C is less than M, and D is less than X, where D is the number of days when the duration that the electronic device enters the second fence within N days before the fifteenth moment is greater than the second threshold.
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, and 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 O, where E is the number of times the electronic device displays the second card within P days before the third moment, O is the third threshold, and P is the fourth threshold; Or, at the third moment, E is greater than or equal to O, and the electronic device detects that the number of operations to enter the second card 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 operations to enter the second card is greater than the fifth threshold, where F is the number of times the electronic device displays the second card within P days before the sixteenth moment.
21. The method according to any one of claims 1 to 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, and the electronic device does not display the second card, and 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 the second preset time interval.
22. An electronic device, characterized in that, The electronic device includes: one or more processors and a memory; The memory is coupled to the one or more processors, and the memory is configured to store computer program code including computer instructions, and the one or more processors call the computer instructions to cause the electronic device to perform the method according to any one of claims 1 to 21.
23. A chip system, characterized in that, The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are configured to call computer instructions to cause the electronic device to perform the method according to any one of claims 1 to 21.
24. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions, and when the computer instructions are run on an electronic device, the computer instructions cause the electronic device to perform the method according to any one of claims 1 to 21.
25. A computer program product, characterized in that, The computer program product includes computer program code, and when the computer program code is run on an electronic device, the computer program code causes the electronic device to perform the method according to any one of claims 1 to 21.
Citation Information
Patent Citations
Operation triggering method and portable electronic device
CN106537947A
Method for predicting congestion of expressway toll station
CN111243279A
Near field communication card switching method and device, storage medium and electronic equipment
CN111432339A
Geographic fence use method and electronic equipment
CN114928809A
Communication method and device
CN115022897A