Service distribution method and apparatus and computer-readable storage medium
By acquiring the status and environmental information of terminal devices, accurate notification information is generated to display target services, solving the problem of inaccurate service distribution, achieving more efficient and accurate service distribution, and improving user experience.
Patent Information
- Application Number
- PCT/CN2024/143882
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-30
- Filing Date
- 2024-12-30
- Publication Date
- 2025-12-04
AI Technical Summary
Inaccurate service distribution in existing technologies leads to a decline in user experience, especially due to unstable Bluetooth device signals or inaccurate coverage.
By acquiring target events and terminal device status or environmental information, accurate notification information is generated to display target services. Service distribution strategies are used to display target services on target access points, ensuring the accuracy and efficiency of service distribution.
It improved the accuracy and efficiency of service distribution, enhanced the user experience, and reduced unnecessary disruptions.
Smart Images

Figure CN2024143882_04122025_PF_FP_ABST
Abstract
Description
A service distribution method, apparatus and computer-readable storage medium
[0001] This application claims priority to Chinese Patent Application No. 202410700707.7, filed on May 30, 2024, entitled "A Service Distribution Method, Apparatus and Computer-Readable Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to a service distribution method, apparatus and computer-readable storage medium. Background Technology
[0003] With the rapid development of the mobile internet, lightweight services such as mini-programs and meta-services have gradually become mainstream in the market. These services are characterized by no installation required for download and instant access, greatly enhancing the user experience. For example, the convenience of meta-services is fully demonstrated in everyday scenarios such as ordering food, paying for parking, and paying for gas.
[0004] Service delivery is a key element in achieving this convenience. It reduces the tedious process of searching for and installing applications by pushing the services a user needs directly to them. In related technologies, service delivery schemes automatically display the corresponding service when a user's phone receives a broadcast message from a Bluetooth device in a store. However, due to unstable Bluetooth signals or inaccurate coverage, service delivery can be inaccurate, impacting the user experience. Summary of the Invention
[0005] This application provides a service distribution method, apparatus, and computer-readable storage medium, which improves the accuracy and efficiency of service distribution and further enhances the user experience.
[0006] In a first aspect, another service distribution method is provided, the method comprising: obtaining first notification information, the first notification information being used to notify a target access entry on a first terminal device to display a target service, the first notification information being generated when a target event occurs and the target information meets the service distribution conditions, the target information representing the state of the first terminal device and / or the environment in which the first terminal device is located; and displaying the target service through the target access entry.
[0007] It should be understood that the service distribution method provided in the first aspect is applied to a first terminal device, which is a device with service distribution capability, and is a device held by a user, such as a mobile phone, tablet, computer, etc.
[0008] In this embodiment, by considering whether the target event has occurred, and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, the accuracy and efficiency of generating the first notification information are ensured. The generated first notification information is then given to the target access entry, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and affect their experience.
[0009] In one possible implementation, the first notification message carries an identifier for the target service, a redirect link to the target service, a page link to the target service, and a display method for showcasing the target service through the target access point. The target access point refers to the entry point through which the target service can be accessed. The target access point could be at least one of the following: the -1 screen, the lock screen, the notification bar, and Xiaoyi suggestions.
[0010] In this embodiment, whether the target event has occurred can be determined by the server or the first terminal device. Determining whether the target information meets the service distribution conditions can be performed by the server or the first terminal device; alternatively, different devices can collaboratively determine whether the target information meets the service distribution conditions, i.e., the first terminal device performs one part of the service distribution condition judgment, while the server performs another part. Which part of the service distribution condition judgment is performed by the first terminal device and which part by the server can be determined based on the actual business requirements. The first notification information can be generated by the first terminal device or generated by the server and sent to the first terminal device.
[0011] In one possible implementation, when the service distribution condition specifically comprises at least two conditions, these at least two conditions include a first sub-condition and a second sub-condition. The first sub-condition is represented by condition1, and the second sub-condition is represented by condition2. The server can determine the source of the first sub-information based on its type (represented by condition1). Based on the source of the first sub-information, the server determines whether the step of "determining whether the first sub-information satisfies condition1" should be performed by the first terminal device or by the server. For example, if the type of the first sub-information is weather, this type of information is typically obtained by the server (i.e., the cloud side), meaning the source of the first sub-information is the server, then the device executing the step of "determining whether the first sub-information satisfies condition1" can be determined to be the server. Similarly, the server can determine the source of the second sub-information based on its type (represented by condition2). Based on the source of the second sub-information, the server determines whether the step of "determining whether the second sub-information satisfies condition2" should be performed by the first terminal device or by the server. For example, if the type of the second sub-information is location, this type of information falls under user privacy and is typically obtained by the first terminal device. Therefore, if the source of the second sub-information is the first terminal device, then the device executing the step "determine whether the second sub-information satisfies condition2" can be the first terminal device. The target information includes both the first and second sub-information. The device executing the step "determine whether the first sub-information satisfies condition1" and the device executing the step "determine whether the second sub-information satisfies condition2" can be the same device or different devices. Regardless of whether the two sub-condition judgment steps are executed by the same device or different devices, the final judgment result regarding whether the target information satisfies the service distribution conditions requires both conditions to be met simultaneously. In other words, only when the first sub-information satisfies condition1 and the second sub-information satisfies condition2 can it be determined that the target information satisfies the service distribution conditions.
[0012] When the service distribution conditions contain multiple sub-conditions, the server can further refine and optimize the judgment process based on the logical relationships between these sub-conditions. For example, if condition1 is a prerequisite for condition2, it can first determine whether condition1 is satisfied, and then decide whether to execute the judgment on condition2 based on the judgment result.
[0013] In one possible implementation, the first notification information may be generated by the server based on the service instruction information and sent to the first terminal device, or it may be generated by the first terminal device based on the service instruction information.
[0014] In this embodiment, the service distribution conditions, target event, target service, and target access point mentioned above are all indicated by a service distribution strategy, which can be generated by the server. The service distribution strategy instructs that when a target event occurs and the target information meets the service distribution conditions, the target service should be displayed through the target access point. The service distribution strategy includes event triggering information, distribution decision information, and service indication information; the event triggering information indicates the target event, the distribution decision information indicates the service distribution conditions, and the service indication information indicates that the target service should be displayed through the target access point. The server can deploy the service distribution strategy itself (i.e., not send the service distribution strategy to the first terminal device); it can also deploy the service distribution strategy on the first terminal device; or it can deploy part of the service distribution strategy on the server and another part on the first terminal device.
[0015] In one possible implementation, the first terminal device receives a service distribution policy from the server. The first terminal device may also perform the following steps: based on event triggering information, monitor whether a target event has occurred; if the target event has occurred, determine whether the target information meets the service distribution conditions based on distribution decision information; if the target information meets the service distribution conditions, generate first notification information based on service indication information. The service distribution policy is deployed on the first terminal device.
[0016] In one possible implementation, the first terminal device receives partial information from the service distribution strategy of the server. This partial information may be event triggering information and distribution decision information. The first terminal device may also perform the following steps: monitor whether a target event has occurred based on the event triggering information; if the target event has occurred, determine whether the target information meets the service distribution conditions based on the distribution decision information; if the target information meets the service distribution conditions, send a third notification message to notify the target information that it meets the service distribution conditions; and receive a first notification message from the server, which is sent based on the third notification message.
[0017] In one possible implementation, the first terminal device receives partial information from the service distribution strategy of the server. This partial information may be event triggering information. The first terminal device may also perform the following steps: based on the event triggering information, monitor whether a target event has occurred; if the target event has occurred, send a second notification message to the server, the second notification message being used to notify that the target event has occurred; and receive a first notification message from the server, the first notification message being generated by the server when the target event has occurred and the target information meets the service distribution conditions.
[0018] In one possible implementation, the first terminal device receives a first notification message from the server. The first notification message is sent by the server after it detects that a target event has occurred and determines that the target information meets the service distribution conditions. The service distribution strategy is deployed on the server.
[0019] In one possible implementation, the first terminal device receives partial information from the service distribution strategy of the server. This partial information may be distribution decision information and service instruction information. The first terminal device may also perform the following steps: upon receiving second notification information from the server, based on the distribution decision information, determine whether the target information meets the service distribution conditions. The second notification information is used to notify the occurrence of the target event. If the target information meets the service distribution conditions, generate first notification information based on the service instruction information.
[0020] In one possible implementation, the first terminal device receives partial information from the service distribution strategy of the server. This partial information may be event triggering information and service indication information. The first terminal device may also perform the following steps: based on the event triggering information, monitor whether a target event has occurred; if the target event has occurred, send a second notification message to the server, the second notification message being used to notify that the target event has occurred; if a third notification message is received from the server, generate a first notification message based on the service indication information, the third notification message being used to notify that the target information meets the service distribution conditions, the third notification message being generated based on the second notification message.
[0021] In one possible implementation, the first terminal device receives a portion of the information from the service distribution strategy of the server, which may be service indication information. The first terminal device may also perform the following steps: upon receiving a third notification information from the server, generating a first notification information based on the service indication information. The third notification information is used to notify the target information that the service distribution conditions are met. The third notification information is generated by the server when it detects that a target event has occurred and the target information meets the service distribution conditions.
[0022] In one possible implementation, the first terminal device receives partial information from the service distribution strategy of the server, which may be distribution decision information. The first terminal device may also perform the following steps: upon receiving second notification information from the server, based on the distribution decision information, determine whether the target information meets the service distribution conditions; if the target information meets the service distribution conditions, send third notification information to the server, the third notification information being used to notify the target information that it meets the service distribution conditions; and receive first notification information from the server, the first notification information being sent based on the third notification information.
[0023] In one possible implementation, the service distribution conditions include a first sub-condition and a second sub-condition. The first terminal device receives partial information from the service distribution strategy of the server. This partial information may be event triggering information, first sub-decision information, and service indication information. The first terminal device may also perform the following steps: based on the event triggering information, monitor whether a target event has occurred; if the target event has occurred, determine whether the first sub-information meets the first sub-condition based on the first sub-decision information; if the first sub-information meets the first sub-condition, send a fourth notification information to the first terminal device, the fourth notification information being used to notify the first sub-information that the first sub-condition is met; if a third notification information is received from the server, generate a first notification information based on the service indication information, the third notification information being used to notify the target information that the service distribution conditions are met, the target information including the first sub-information and the second sub-information, and the third notification information being generated based on the fourth notification information.
[0024] In one possible implementation, the service distribution conditions include a first sub-condition and a second sub-condition. The first terminal device receives partial information from the service distribution strategy of the server. This partial information may be first sub-decision information and service indication information. The first terminal device may also perform the following steps: upon receiving second notification information from the server, determining whether the first sub-information meets the first sub-condition based on the first sub-decision information; if the first sub-information meets the first sub-condition, sending fourth notification information to the server, the fourth notification information being used to notify the first sub-information that it meets the first sub-condition; upon receiving third notification information from the server, generating first notification information based on service indication information, the third notification information being used to notify target information that it meets the service distribution conditions, the target information including the first sub-information and the second sub-information, the third notification information being generated based on the fourth notification information, and the second notification information being used to notify the target event that it has occurred.
[0025] In one possible implementation, the service distribution conditions include a first sub-condition and a second sub-condition. The first terminal device receives partial information from the service distribution strategy of the server, which may be event triggering information and first sub-decision information. Based on the event triggering information, it monitors whether a target event has occurred. If the target event has occurred, it determines whether the first sub-information meets the first sub-condition based on the first sub-decision information. If the first sub-information meets the first sub-condition, it sends a fourth notification to the server, which is used to notify the first sub-information that it meets the first sub-condition. It receives a first notification from the server, which is generated by the server based on the fourth notification information. The target information includes the first sub-information and the second sub-information.
[0026] In one possible implementation, the service distribution conditions include a first sub-condition and a second sub-condition. The first terminal device receives partial information from the service distribution strategy of the server, which may be first sub-decision information. The first terminal device may also perform the following steps: upon receiving second notification information from the server, based on the first sub-decision information, determine whether the first sub-information satisfies the first sub-condition, whereby the second notification information is used to notify that the target event has occurred; if the first sub-information satisfies the first sub-condition, send a fourth notification information to the server, whereby the fourth notification information is used to notify that the first sub-information satisfies the first sub-condition; and receive a first notification information from the server, whereby the first notification information is generated by the server based on the fourth notification information, and the target information includes the first sub-information and the second sub-information.
[0027] In one possible implementation, the service distribution conditions include a first sub-condition and a second sub-condition. The first terminal device receives partial information from the service distribution strategy of the server. This partial information may be event triggering information, second sub-decision information, and service indication information. The first terminal device may also perform the following steps: monitoring whether a target event has occurred based on the event triggering information; if the target event has occurred, sending a second notification to the server, the second notification being used to notify that the target event has occurred; upon receiving a fourth notification from the server, determining whether the second sub-information meets the second sub-condition based on the second sub-decision information, the fourth notification being used to notify the first sub-information that the first sub-condition is met, the fourth notification being generated based on the second notification information; if the second sub-information meets the second sub-condition, determining that the target information meets the service distribution conditions, the target information including the first sub-information and the second sub-information; and generating a first notification based on the service indication information.
[0028] In one possible implementation, the service distribution conditions include a first sub-condition and a second sub-condition. The first terminal device receives partial information from the service distribution strategy of the server. This partial information may be second sub-decision information and service indication information. The first terminal device may also perform the following steps: upon receiving a fourth notification information from the server, based on the second sub-decision information, determine whether the second sub-information meets the second sub-condition. The fourth notification information is used to notify the first sub-information that it meets the first sub-condition. If the second sub-information meets the second sub-condition, determine that the target information meets the service distribution conditions. The target information includes the first sub-information and the second sub-information. Based on the service indication information, generate a first notification information.
[0029] In one possible implementation, the service distribution conditions include a first sub-condition and a second sub-condition. The first terminal device receives partial information from the service distribution strategy of the server, which may be event triggering information and second sub-decision information. The first terminal device may also perform the following steps: based on the event triggering information, monitor whether a target event has occurred; if the target event has occurred, send a second notification to the server, the second notification being used to notify that the target event has occurred; if a fourth notification is received from the server, determine whether the second sub-information satisfies the second sub-condition based on the second sub-decision information, the fourth notification being used to notify the first sub-information that the first sub-condition is satisfied, the fourth notification being generated based on the second notification information; if the second sub-information satisfies the second sub-condition, determine that the target information satisfies the service distribution conditions, the target information including the first and second sub-information; send a third notification to the server, the third notification being used to notify the target information that the service distribution conditions are satisfied; and receive a first notification from the server, the first notification being generated by the server based on the third notification information.
[0030] In one possible implementation, the service distribution conditions include a first sub-condition and a second sub-condition. The first terminal device receives partial information from the service distribution strategy of the server, which may be second sub-decision information. The first terminal device may also perform the following steps: upon receiving a fourth notification from the server, based on the second sub-decision information, determine whether the second sub-information meets the second sub-condition, the fourth notification information being used to notify the first sub-information that it meets the first sub-condition; if the second sub-information meets the second sub-condition, determine that the target information meets the service distribution conditions, the target information including the first and second sub-information; send a third notification to the server, the third notification information being used to notify the target information that it meets the service distribution conditions; and receive a first notification from the server, the first notification information being generated by the server based on the third notification information.
[0031] In this system, the first sub-decision information indicates the first sub-condition, and the second sub-decision information indicates the second sub-condition. The service distribution conditions include both the first and second sub-conditions. The first sub-information is obtained based on the first sub-decision information, and the second sub-information is obtained based on the second sub-decision information. The source of the first sub-information's acquisition determines whether the judgment of the first sub-condition is executed by the server or the first terminal device. For example, if the source of the first sub-information is the first terminal device, the server needs to send the first sub-decision information to the first terminal device so that the first terminal device can execute the judgment logic of the first sub-condition based on the first sub-decision information. Similarly, the source of the second sub-information determines whether the judgment of the second sub-condition is executed by the server or the first terminal device. For example, if the source of the second sub-information is the server, the server can execute the judgment logic of the second sub-condition based on the second sub-decision information.
[0032] In one possible implementation, the first notification message carries at least one of the following: the identifier of the target service, the redirect link of the target service, and the page link of the target service.
[0033] Based on the above solution, by flexibly deploying service distribution strategies, the target service can be displayed through the target access portal on the first terminal device when the target event occurs and the target information meets the service distribution conditions. This improves the accuracy of service distribution and enhances the user experience.
[0034] Secondly, a service distribution method is provided, which can be executed by a server, by a component of the server, or by a logic module or software that can implement or partially implement server functions.
[0035] The method includes: generating a service distribution strategy, wherein the service distribution strategy instructs that when a target event occurs and the target information meets the service distribution conditions, a target service is displayed through a target access entry, and the target information represents the state of a first terminal device and / or the environment in which the first terminal device is located; and, based on the service distribution strategy, when the occurrence of a target event is detected and the target information meets the service distribution conditions, sending a first notification message to the first terminal device, wherein the first notification message is used to notify the target access entry on the first terminal device to display the target service; or, sending the service distribution strategy or part of the information in the service distribution strategy to the first terminal device.
[0036] In one possible implementation, the service distribution strategy includes event triggering information, distribution decision information, and service indication information. The event triggering information indicates the target event, the distribution decision information indicates the service distribution conditions, and the service indication information indicates that the target service is displayed through the target access point.
[0037] In one possible implementation, part of the information in the service distribution strategy is event triggering information. The server may also perform the following steps: upon receiving a second notification message from the first terminal device, determine whether the target information meets the service distribution conditions. The second notification message is used to notify that the target event has occurred. If the target information meets the service distribution conditions, send a first notification message to the first terminal device based on the service indication information.
[0038] In one possible implementation, part of the information in the service distribution strategy is distribution decision information. The server may also perform the following steps: based on the event triggering information, monitor whether a target event has occurred; if the target event has occurred, send a second notification message to the first terminal device, the second notification message being used to notify that the target event has occurred; if a third notification message is received from the first terminal device, send a first notification message to the first terminal device based on the service indication information, the third notification message being used to notify that the target information meets the service distribution conditions, the third notification message being generated based on the second notification message.
[0039] In one possible implementation, some information in the service distribution strategy includes event triggering information and distribution decision information. The server may also perform the following steps: upon receiving third notification information from the first terminal device, based on the service indication information, send first notification information. The third notification information is used to notify the target information that it meets the service distribution conditions. The third notification information is generated by the first terminal device when it detects that the target event has occurred and the target information meets the service distribution conditions.
[0040] In one possible implementation, part of the information in the service distribution strategy is service indication information. The server may also perform the following steps: based on the event triggering information, monitor whether a target event has occurred; if the target event has occurred, determine whether the target information meets the service distribution conditions; if the target information meets the service distribution conditions, send a third notification message, which is used to notify the target information that it meets the service distribution conditions, and the first notification message is generated based on the third notification message.
[0041] In one possible implementation, part of the information in the service distribution strategy is event triggering information and service indication information. The server may also perform the following steps: upon receiving a second notification message from the first terminal device, determine whether the target information meets the service distribution conditions. The second notification message is used to notify the target event that it has occurred. If the target information meets the service distribution conditions, send a third notification message. The third notification message is used to notify the target information that it meets the service distribution conditions. The first notification message is generated based on the third notification message.
[0042] In one possible implementation, part of the information in the service distribution strategy is distribution decision information and service instruction information. The server may also perform the following steps: based on the event triggering information, monitor whether the target event has occurred; if the target event has occurred, send a second notification message to the first terminal device. The second notification message is used to notify that the target event has occurred. The first notification message is generated by the first terminal device when the target event has occurred and the target information meets the service distribution conditions.
[0043] In one possible implementation, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy includes event triggering information, the first sub-decision information, and service indication information. The server may also perform the following steps: upon receiving a fourth notification information from the first terminal device, based on the second sub-decision information, obtain the second sub-information and determine whether the second sub-information meets the second sub-condition. The fourth notification information is used to notify the first sub-information that it meets the first sub-condition. If the second sub-information meets the second sub-condition, determine that the target information meets the service distribution conditions. The target information includes the first sub-information and the second sub-information. Send a third notification information to the first terminal device. The third notification information is used to notify the target information that it meets the service distribution conditions.
[0044] In one possible implementation, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy is event triggering information and the first sub-decision information. The server may also perform the following steps: upon receiving a fourth notification information from the first terminal device, based on the second sub-decision information, obtain the second sub-information and determine whether the second sub-information meets the second sub-condition. The fourth notification information is used to notify the first sub-information that it meets the first sub-condition. If the second sub-information meets the second sub-condition, determine that the target information meets the service distribution conditions. The target information includes the first sub-information and the second sub-information. Based on the service indication information, generate first notification information. Send the first notification information to the first terminal device.
[0045] In one possible implementation, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy consists of the first sub-decision information and service indication information. The server may also perform the following steps: based on event triggering information, monitor whether a target event has occurred; if the target event has occurred, send a second notification to the first terminal device, the second notification being used to notify that the target event has occurred; if a fourth notification is received from the first terminal device, based on the second sub-decision information, obtain the second sub-information and determine whether the second sub-information satisfies the second sub-condition, the fourth notification being used to notify the first sub-information that the first sub-condition is satisfied; if the second sub-information satisfies the second sub-condition, determine that the target information satisfies the service distribution conditions, the target information including the first sub-information and the second sub-information; send a third notification to the first terminal device, the third notification being used to notify the target information that the service distribution conditions are satisfied.
[0046] In one possible implementation, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy is the first sub-decision information. The server may also perform the following steps: based on event triggering information, monitor whether a target event has occurred; if the target event has occurred, send second notification information to a first terminal device; if a fourth notification information is received from the first terminal device, based on the second sub-decision information, obtain second sub-information and determine whether the second sub-information meets the second sub-condition. The fourth notification information is used to notify the first sub-information that the first sub-condition is met; if the second sub-information meets the second sub-condition, determine that the target information meets the service distribution conditions. The target information includes the first sub-information and the second sub-information; generate first notification information based on service indication information; and send the first notification information to the first terminal device.
[0047] In one possible implementation, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Some information in the service distribution strategy includes event triggering information, second sub-decision information, and service indication information. The server may also perform the following steps: upon receiving second notification information from the first terminal device, based on the first sub-decision information, obtain first sub-information and determine whether the first sub-information satisfies the first sub-condition. The second notification information is used to notify that the target event has occurred. If the first sub-information satisfies the first sub-condition, send fourth notification information to the first terminal device. The fourth notification information is used to notify that the first sub-information satisfies the first sub-condition.
[0048] In one possible implementation, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy is event triggering information and the second sub-decision information. The server may also perform the following steps: upon receiving second notification information from the first terminal device, based on the first sub-decision information, obtain first sub-information and determine whether the first sub-information satisfies the first sub-condition. The second notification information is used to notify that the target event has occurred. If the first sub-information satisfies the first sub-condition, send fourth notification information to the first terminal device. The fourth notification information is used to notify that the first sub-information satisfies the first sub-condition. Upon receiving third notification information, based on the service indication information, generate first notification information. The third notification information is generated by the first terminal device after determining that the second sub-information satisfies the second sub-condition based on the fourth notification information. Send first notification information to the first terminal device.
[0049] In one possible implementation, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy consists of the second sub-decision information and service indication information. The server may also perform the following steps: based on event triggering information, monitor whether a target event has occurred; if the target event has occurred, based on the first sub-decision information, obtain first sub-information and determine whether the first sub-information meets the first sub-condition; if the first sub-information meets the first sub-condition, send fourth notification information to the first terminal device. The fourth notification information is used to notify the first sub-information that the first sub-condition has been met.
[0050] In one possible implementation, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy is the second sub-decision information. The server may also perform the following steps: based on event triggering information, monitor whether a target event has occurred; if the target event has occurred, based on the first sub-decision information, obtain first sub-information and determine whether the first sub-information satisfies the first sub-condition; if the first sub-information satisfies the first sub-condition, send fourth notification information to the first terminal device, the fourth notification information being used to notify the first sub-information that the first sub-condition is satisfied; if a third notification information is received from the first terminal device, generate first notification information based on service indication information; and send the first notification information to the first terminal device.
[0051] In one possible implementation, the service distribution strategy can be generated by: obtaining service distribution configuration information and a target strategy template, whereby the target strategy template represents the characteristics of the industry corresponding to the target service; and generating the service distribution strategy based on the service distribution configuration information and the target strategy template.
[0052] In one possible implementation, the service distribution configuration information includes at least one of the following: service access point information, device information corresponding to the service access point, target service information, and distribution requirement information.
[0053] In one possible implementation, the device information includes device attribute information and operating configuration information. The operating configuration information is obtained by: acquiring initial operating configuration information; if the initial operating configuration information is determined to be accurate based on distribution demand information, using the initial operating configuration information as the operating configuration information; if the initial operating configuration information is determined to be inaccurate based on distribution demand information, determining the operating configuration information based on the spatial environment information of the service access point and the distribution demand information.
[0054] Based on the above solution, verifying the initial runtime configuration information ensures that service distribution reaches target users more accurately, resulting in a more precise service delivery experience. Furthermore, the communication link between the device cloud and the device can automatically distribute runtime configuration information, ensuring that the configuration information takes effect quickly, achieving the optimal operating state of the device and improving its overall operating efficiency.
[0055] In one possible implementation, operational configuration information is determined based on the spatial environment information and distribution requirement information of the service access point, and is achieved in the following way: First operational configuration information is generated based on the spatial environment information and distribution requirement information; if the first operational configuration information is determined to be accurate based on the distribution requirement information, it is used as the operational configuration information; if the first operational configuration information is determined to be inaccurate based on the distribution requirement information, device deployment information is sent to the second terminal device, which is used to adjust the device layout in the distribution area; upon receiving deployment confirmation information from the second terminal device, operational configuration information is generated based on the spatial environment information and distribution requirement information; the operational configuration information is the adjusted configuration information of the corresponding device in the distribution area.
[0056] Based on the above scheme, if the first runtime configuration information is determined to be inaccurate based on the distribution demand information, device topology information is sent to the second terminal device. This allows developers to adjust the device layout in the distribution area based on the device topology information. The server can then generate runtime configuration information for the adjusted device to achieve more accurate area awareness and improve the accuracy of service distribution.
[0057] In one possible implementation, upon receiving deployment confirmation information from the second terminal device, operational configuration information is generated based on spatial environment information and distribution requirement information. This can be achieved as follows: Based on the spatial environment information and distribution requirement information, adjusted second operational configuration information for the device is generated; the server sends the adjusted second operational configuration information to the device and also sends test task information to the second terminal device. The test task information indicates whether the adjusted device is functioning correctly according to the second operational configuration information. The test task information includes the store floor plan, device location, device coverage area, and distribution area. Test data sent from the second terminal device is received, and the second operational configuration information is adjusted based on the test data to obtain the adjusted configuration information for the corresponding distribution area, i.e., the operational configuration information.
[0058] In the above solution, the collaborative work of developers plays a crucial role. Developers can directly collect test data on-site, and then the server can dynamically adjust the secondary runtime configuration information based on this data. For example, if a developer stands in a certain location in the store but does not receive a signal from the Bluetooth Beacon device, the server can increase the device's transmission power; conversely, if a developer stands in a location in the store where they shouldn't receive a signal but unexpectedly does, the server can decrease the device's transmission power. Through this multiple adjustment method, it can be ensured that the Bluetooth Beacon device signal is stably received in every location where it should receive a signal, while locations where it shouldn't receive a signal are not interfered with, thus ensuring the accuracy and effectiveness of signal coverage.
[0059] In one possible implementation, the device information corresponding to the service access point is the information of a device installed by the developer within the store for the user's mobile phone (i.e., the first terminal device) to detect. This device can be referred to as a sensing device. The sensing device can be at least one of the following: a Bluetooth device, a Wi-Fi device, an ultra-wideband (UWB) device, and a near-field communication (NFC) device. For example, the Bluetooth device could be a Bluetooth Beacon device. The sensing device can periodically broadcast signals or interact with information upon touch, allowing the user's mobile phone to detect its presence.
[0060] In one possible implementation, the sensing device can be a fixed device or a mobile device; of course, when there are multiple sensing devices, the multiple sensing devices can include both fixed devices and mobile devices.
[0061] In one possible implementation, the broadcast power (i.e., transmit power) in the device information can be fixed or can vary periodically.
[0062] When the broadcast power changes periodically, that is, the broadcast power is dynamically adjusted rather than constant, the first terminal device (such as a mobile phone) can more accurately determine the user's location, thereby significantly improving the accuracy of service distribution.
[0063] The beneficial effects of each implementation method in the second aspect can be found in the description of the first aspect, and will not be repeated here.
[0064] Thirdly, a service distribution apparatus is provided, including a module or unit for performing the method of the first aspect or any possible implementation thereof, and a module or unit for performing the method of the second aspect or any possible implementation thereof.
[0065] Fourthly, a service distribution apparatus is provided, comprising an apparatus for executing a method comprising a processor coupled to a memory for storing computer programs or instructions, the processor for executing the computer programs or instructions stored in the memory to implement the method of the first aspect or any possible implementation thereof, or to implement the method of the second aspect or any possible implementation thereof.
[0066] Fifthly, a processor is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive signals through the input circuit and transmit signals through the output circuit, causing the processor to execute the method of any of the above aspects or any possible implementation thereof.
[0067] In specific implementation, the processor can be a chip, the input circuit can be input pins, the output circuit can be output pins, and the processing circuit can be transistors, gate circuits, flip-flops, and various logic circuits. The input signal received by the input circuit can be received and input by, for example, but not limited to, a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to and transmitted by a transmitter. Furthermore, the input circuit and the output circuit can be the same circuit, which is used as both the input circuit and the output circuit at different times. This application does not limit the specific implementation of the processor and various circuits.
[0068] In a sixth aspect, a computer program product is provided, comprising: a computer program (also referred to as code or instructions) that, when run, causes a computer to perform the methods of any of the above aspects or any possible implementations of any of the above aspects.
[0069] In a seventh aspect, a computer-readable storage medium is provided that stores a computer program (also referred to as code or instructions) that, when run on a computer, causes the computer to perform the methods of any of the above aspects or any possible implementations of any of the above aspects.
[0070] Eighthly, a chip is provided, including a processor for calling and running a computer program from a memory, causing a service distribution device with the chip installed to perform the method in any of the above aspects or any possible implementations of any of the above aspects. Attached Figure Description
[0071] Figure 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0072] Figure 2 is a software structure block diagram of an electronic device 100 according to an embodiment of this application;
[0073] Figure 3 is a flowchart illustrating a service distribution method provided in an embodiment of this application;
[0074] Figure 4 is a schematic diagram of the interface displaying the target service in a service distribution method provided in an embodiment of this application;
[0075] Figure 5 is a flowchart illustrating another service distribution method provided in an embodiment of this application;
[0076] Figure 6 is a schematic diagram of the coverage area of a Bluetooth device in a service distribution method provided in an embodiment of this application;
[0077] Figure 7 is a schematic diagram of the deployment of Bluetooth devices in a service distribution method provided in an embodiment of this application;
[0078] Figure 8 is a schematic diagram of the deployment of Bluetooth devices in another service distribution method provided in an embodiment of this application;
[0079] Figure 9 is a schematic diagram of a deployment scenario for a service distribution method provided in an embodiment of this application;
[0080] Figure 10 is a flowchart illustrating another service distribution method provided in an embodiment of this application;
[0081] Figure 11 is a flowchart illustrating another service distribution method provided in an embodiment of this application;
[0082] Figure 12 is a flowchart illustrating a service distribution method according to another embodiment of this application;
[0083] Figure 13 is a flowchart illustrating another service distribution method provided in another embodiment of this application;
[0084] Figure 14 is a flowchart illustrating another service distribution method provided in another embodiment of this application;
[0085] Figure 15 is a flowchart illustrating a service distribution method according to another embodiment of this application;
[0086] Figure 16 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application;
[0087] Figure 17 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application;
[0088] Figure 18 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application;
[0089] Figure 19 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application;
[0090] Figure 20 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application;
[0091] Figure 21 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application;
[0092] Figure 22 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application;
[0093] Figure 23 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application;
[0094] Figure 24 is a flowchart illustrating another service distribution method provided in yet another embodiment of this application.
[0095] Figure 25 is a schematic diagram of the structure of a service distribution system provided in an embodiment of this application;
[0096] Figure 26 is a schematic diagram of an application scenario of a service distribution method provided in an embodiment of this application;
[0097] Figure 27 is a schematic diagram of the service distribution device provided in an embodiment of this application;
[0098] Figure 28 is a schematic diagram of the structure of the service distribution device provided in an embodiment of this application. Detailed Implementation
[0099] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0100] In the description of the embodiments of this application, unless otherwise stated, " / " means "or"; for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can mean: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more.
[0101] Hereinafter, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include one or more of that feature.
[0102] This application provides an electronic device for executing the service distribution method provided in this application. In some embodiments of this application, the electronic device may be a mobile phone, tablet computer, wearable device, in-vehicle device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc., or may be other devices or apparatuses capable of performing the service distribution method. This application does not limit the specific type of electronic device.
[0103] For example, FIG1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0104] As shown in Figure 1, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0105] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0106] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0107] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0108] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. The structures of antennas 1 and 2 in Figure 1 are merely one example. Each antenna in the electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0109] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0110] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel.
[0111] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0112] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered Android system as an example to illustrate the software structure of electronic device 100.
[0113] Figure 2 is a software structure block diagram of an electronic device 100 according to an embodiment of this application.
[0114] It should be understood that a layered architecture can divide software into several layers, each with a clear role and division of labor; the layers can communicate with each other through software interfaces.
[0115] As shown in Figure 2, the Android system can be divided into four layers: from top to bottom, the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The application layer can include a series of application packages.
[0116] As shown in Figure 2, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0117] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0118] As shown in Figure 2, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0119] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0120] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, and more.
[0121] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0122] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0123] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0124] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.
[0125] The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.
[0126] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0127] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0128] The system library can include multiple functional modules, such as: surface manager, media libraries, 3D graphics processing libraries (e.g., Open Graphics Library for Embedded Systems, OpenGL ES) and 2D graphics engines (e.g., Skia Graphics Library, SGL).
[0129] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0130] The media library supports playback and recording of various audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, Moving Picture Experts Group Audio Layer III (MP3), Advanced Audio Coding (AAC), Adaptive Multi-rate (AMR), Joint Photographic Experts Group (JPG), and Portable Network Graphics (PNG).
[0131] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0132] A 2D graphics engine is a graphics engine for 2D drawing.
[0133] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0134] Metaservices, formerly known as atomic services, are a new type of application provided by Huawei's HarmonyOS operating system. They feature independent entry points and require no installation, providing users with convenient and lightweight services.
[0135] Service delivery refers to the process of pushing the services that users need to the users.
[0136] The electronic devices shown in Figures 1 and 2 above can be the first terminal device or the second terminal device in the following embodiments. The relevant background of this application will be explained below.
[0137] With the continuous advancement of network technology, service demands and delivery methods have undergone tremendous changes. Users are no longer satisfied with traditional, cumbersome face-to-face services; they expect to access the services they need with a single click on their mobile phones, enjoying a more lightweight and convenient service experience. Meta-services were born out of this changing demand, offering features such as no installation required, one-click access, and cross-platform portability, meeting users' needs for efficient and convenient services. Service distribution is a key link in achieving this convenience. It reduces the tedious process of searching for and installing applications by pushing the services users need directly to them.
[0138] Currently, service distribution solutions typically involve automatically displaying the corresponding service to a user's phone when the user's phone receives a broadcast message from a Bluetooth device within the store. For example, when a user enters a bubble tea shop A, once their phone receives a broadcast message from a Bluetooth device within shop A, the phone will display the ordering service based on that message. However, due to issues such as inaccurate Bluetooth coverage, users may receive a Bluetooth broadcast message from shop A even before entering, simply while resting at the entrance. In this case, the user has no intention of ordering, yet the phone still displays the ordering service. This inaccurate service distribution undoubtedly causes unnecessary disturbance to the user and negatively impacts their experience.
[0139] Based on this, this application provides a service distribution method, which is applied to a service distribution system including a first terminal device, a second terminal device, and a server; wherein the server establishes communication connections with both the first terminal device and the second terminal device. The first terminal device may be, for example, a user's mobile phone, and the second terminal device may be, for example, a milk tea shop owner's mobile phone. Figure 3 is a flowchart illustrating a service distribution method provided in an embodiment of this application, which includes steps S301 to S302. The service distribution method will be explained in detail below.
[0140] S301, The first terminal device obtains the first notification information.
[0141] The first notification information is used to notify the target access entry on the first terminal device to display the target service. The first notification information is generated when the target event occurs and the target information meets the service distribution conditions. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located.
[0142] In this embodiment, the first notification information may be generated by the first terminal device or generated by the server and sent to the first terminal device. The first notification information carries relevant information about the target service.
[0143] In one possible implementation, the target service information carried in the first notification message includes the target service's identifier, the target service's redirect link, the target service's page link, and the display method for showcasing the target service through the target access point. The target access point refers to the entry point through which the target service can be accessed.
[0144] For example, the target access point can be at least one of the following: the negative one screen, the lock screen, the notification bar, and Xiaoyi suggestions. The display methods for showcasing the target service through the target access point include at least one of the following:
[0145] Method 1: Display the target service only on the -1 screen (i.e., users need to swipe to the -1 screen to see the target service). The target access point is the -1 screen.
[0146] Method two involves silent push notifications when the user's phone is locked. This means the target service is pushed to the user while their phone is locked, without the phone making any sound, vibrating, or lighting up the screen, thus avoiding disturbing the user. The target access point is the lock screen.
[0147] Method 3: The notification bar push is accompanied by sound and vibration alerts. The target access point is the notification bar.
[0148] In this application embodiment, whether the target event occurs can be determined by the server or the first terminal device; the target event may be at least one of the following events: a point in time, receiving a broadcast message from a Bluetooth device, detecting that the first terminal device has entered a geofence through the global positioning system (GPS), or the first terminal device opening a target access portal (such as the negative one screen).
[0149] In one possible implementation, the first notification information may be generated by the first terminal device or server based on service indication information when the target event occurs and the target information meets the service distribution conditions. This service indication information instructs the target access point to display the target service; or, the service indication information instructs the target access point to display the target service and the method of displaying the target service.
[0150] In this embodiment, the service distribution conditions may include one condition or at least two conditions. When the service distribution conditions include at least two conditions, these conditions may include a first sub-condition and a second sub-condition. The first sub-condition can be represented by condition1, and the second sub-condition can be represented by condition2. The step of determining whether the target information meets the service distribution conditions can be performed by either the server or the first terminal device by default. Which device performs this step can also be determined by the server. The following is a detailed explanation of the execution device for the server's determination of whether the target information meets the service distribution conditions.
[0151] In one possible implementation, the service distribution condition contains only one condition, such as condition1. The server determines the source of the target information based on the type of target information represented by condition1, and then determines the execution device based on the source of the target information. For example, if the type of target information is meteorology (such as weather conditions), this type of information is usually obtained by the server (i.e., the cloud side), meaning the source of the target information is the server, then the execution device can be determined to be the server. Similarly, if the type of target information is location (such as location information), this type of information is part of user privacy and is usually obtained by the first terminal device, meaning the source of the target information is the first terminal device, then the execution device can be determined to be the first terminal device.
[0152] In one possible implementation, when the service distribution condition specifically comprises at least two conditions, these at least two conditions include a first sub-condition and a second sub-condition. The first sub-condition is represented by condition1, and the second sub-condition is represented by condition2. The server can determine the source of the first sub-information based on its type (represented by condition1). Based on the source of the first sub-information, the server determines whether the step of "determining whether the first sub-information satisfies condition1" should be performed by the first terminal device or by the server. For example, if the type of the first sub-information is weather, this type of information is typically obtained by the server (i.e., the cloud side), meaning the source of the first sub-information is the server, then the device executing the step of "determining whether the first sub-information satisfies condition1" can be determined to be the server. Similarly, the server can determine the source of the second sub-information based on its type (represented by condition2). Based on the source of the second sub-information, the server determines whether the step of "determining whether the second sub-information satisfies condition2" should be performed by the first terminal device or by the server. For example, if the type of the second sub-information is location, this type of information falls under user privacy and is typically obtained by the first terminal device. Therefore, if the source of the second sub-information is the first terminal device, then the device executing the step "determine whether the second sub-information satisfies condition2" can be the first terminal device. The target information includes both the first and second sub-information. The device executing the step "determine whether the first sub-information satisfies condition1" and the device executing the step "determine whether the second sub-information satisfies condition2" can be the same device or different devices. Regardless of whether the two sub-condition judgment steps are executed by the same device or different devices, the final judgment result regarding whether the target information satisfies the service distribution conditions requires both conditions to be met simultaneously. In other words, only when the first sub-information satisfies condition1 and the second sub-information satisfies condition2 can it be determined that the target information satisfies the service distribution conditions.
[0153] Furthermore, when the service distribution conditions contain multiple sub-conditions, the server can further refine and optimize the judgment process based on the logical relationships between these sub-conditions. For example, if condition1 is a prerequisite for condition2, the server can first determine whether condition1 is satisfied, and then decide whether to execute the judgment on condition2 based on the judgment result.
[0154] The device whose target information meets the service distribution conditions is ultimately determined by the execution order between condition1 and condition2.
[0155] If condition1 is a prerequisite for condition2, then it means that "determining whether the first sub-information satisfies condition1" is executed before "determining whether the second sub-information satisfies condition2." Therefore, the device that determines whether the target information satisfies the service distribution conditions is the device that executes "determining whether the second sub-information satisfies condition2." Conversely, if condition2 is a prerequisite for condition1, then it means that "determining whether the second sub-information satisfies condition2" is executed before "determining whether the first sub-information satisfies condition1." Therefore, the device that executes the condition judgment later is the device that determines whether the target information satisfies the service distribution conditions.
[0156] For example, condition1 is a prerequisite for condition2. If the device executing the determination of whether the second sub-information satisfies condition2 is the first terminal device, then the device determining whether the target information satisfies the service distribution conditions is the first terminal device. For instance, if the device executing the determination of whether the first sub-information satisfies condition1 is the server, the server first determines whether the first sub-information satisfies condition1. If the determination result indicates that the first sub-information satisfies condition1, the server informs the first terminal device of the determination result. Upon receiving the determination result, the first terminal device can continue to determine whether the second sub-information satisfies condition2. If the second sub-information satisfies condition2, the target information is determined to satisfy the service distribution conditions. In the swimming ticket purchase scenario, condition1 might be: current outdoor temperature > 25℃, where the first sub-information is the current outdoor temperature of the environment where the first terminal device is located; condition2 might be: geographical location is at the entrance of the swimming pool, where the second sub-information is the current location information of the first terminal device.
[0157] In the above scheme, the target information includes a first sub-information and a second sub-information. The first sub-information represents the state of the first terminal device and / or the environment in which the first terminal device is located; the second sub-information represents the state of the first terminal device and / or the environment in which the first terminal device is located. The first and second sub-information are different. When the first sub-information satisfies condition 1 and the second sub-information satisfies condition 2, it is determined that the target information meets the service distribution conditions. In this way, by judging the current state and / or environment of the first terminal device through multiple conditions, it is possible to more accurately determine whether it is suitable to display the target service, thereby improving the timing accuracy of service distribution.
[0158] In this embodiment, the service distribution conditions, target event, target service, and target access point mentioned above are all indicated by a service distribution strategy, which is generated by the server. The service distribution strategy instructs that when a target event occurs and the target information meets the service distribution conditions, the target service should be displayed through the target access point. The service distribution strategy includes event triggering information, distribution decision information, and service indication information; the event triggering information indicates the target event, the distribution decision information indicates the service distribution conditions, and the service indication information instructs the target access point to display the target service. The server can deploy the service distribution strategy itself (i.e., not send the service distribution strategy to the first terminal device), or the server can send the service distribution strategy or parts of the service distribution strategy to the first terminal device.
[0159] A server can have one service distribution strategy. Of course, it can also have multiple service distribution strategies, each targeting different application scenarios. Multiple service distribution strategies are independent of each other, but within the same service distribution strategy, event triggering information, distribution decision information, and service instruction information are interconnected.
[0160] In one possible implementation, if the source of the target event is on the first terminal device, event triggering information can be sent to the first terminal device, which then monitors whether the target event has occurred based on the event triggering information. If the source of the target event is on the server, the server monitors whether the target event has occurred based on the event triggering information. Similarly, if the source of the target information is on the first terminal device, distribution decision information can be sent to the first terminal device, which then acquires the target information and determines whether the target information meets the service distribution conditions based on the distribution decision information. If the source of the target information is on the server, the server acquires the target information and determines whether the target information meets the service distribution conditions based on the distribution decision information. If the source of the first sub-information in the target information is on the first terminal device, and the source of the second sub-information is on the server, the server will send the first sub-decision information corresponding to the first sub-information to the first terminal device, which then acquires the first sub-information and determines whether the first sub-information meets the first sub-condition based on the first sub-decision information; and the server acquires the second sub-information and determines whether the second sub-information meets the second sub-condition based on the second sub-decision information; wherein the first sub-decision information indicates the first sub-condition, and the second sub-decision information indicates the second sub-condition. For service instruction information, it can be determined whether the first notification information needs to be generated on the client side or the cloud side based on business needs. If it is on the client side, the server needs to send the service instruction information to the first terminal device so that the first terminal device can generate the first notification information based on the service instruction information. If it is on the cloud side, the server itself can generate the first notification information based on the service instruction information and send the first notification information to the first terminal device.
[0161] The following explains several deployment methods for service distribution strategies.
[0162] Method 1: The server can deploy the service distribution strategy itself, meaning that the entire service distribution strategy is deployed on the server.
[0163] Specifically, when the server detects the occurrence of a target event and that the target information meets the service distribution conditions based on the service distribution strategy, it sends a first notification message to the first terminal device. The first notification message is used to notify the target access point on the first terminal device to display the target service. The server performs all the functions of monitoring whether the target event has occurred, determining whether the target information meets the service distribution conditions, and generating the first notification message; the first terminal device does not need to participate.
[0164] Specifically, the server can monitor whether a target event has occurred based on event triggering information. If the target event has occurred, it determines whether the target information meets the service distribution conditions. If the target information meets the service distribution conditions, it generates first notification information based on service indication information, and then sends the first notification information to the first terminal device. Here, the event triggering information, service distribution conditions, and service indication information all belong to a service distribution strategy.
[0165] Method 2: The server can send the service distribution strategy to the first terminal device, meaning that the entire service distribution strategy is deployed on the first terminal device.
[0166] Specifically, when the first terminal device detects the occurrence of a target event and the target information meets the service distribution conditions based on a service distribution strategy, it generates a first notification message. This first notification message is used to notify the target access point on the first terminal device to display the target service. The monitoring of whether the target event has occurred, the determination of whether the target information meets the service distribution conditions, and the generation of the first notification message are all performed by the first terminal device itself, without the need for server involvement.
[0167] Specifically, the first terminal device can monitor whether a target event has occurred based on event triggering information. If the target event has occurred, it determines whether the target information meets the service distribution conditions. If the target information meets the service distribution conditions, it generates a first notification based on service indication information. Here, the event triggering information, service distribution conditions, and service indication information all belong to a service distribution strategy.
[0168] Method 3: The server can send part of the service distribution strategy information to the first terminal device. In other words, the server and the first terminal device each deploy a part of the service distribution strategy and work together to execute the logic of the service distribution strategy.
[0169] In this deployment method, the server can send some information from the service distribution strategy to the first terminal device. This information can be any one or both of event triggering information, distribution decision information, and service instruction information, resulting in six possible scenarios. The following provides a detailed explanation of these six scenarios in this deployment method.
[0170] 1) The server can send event triggering information to the first terminal device. Part of the service distribution strategy information is event triggering information.
[0171] The monitoring of whether a target event has occurred based on event triggering information is performed by the first terminal device. The determination of whether the target information meets the service distribution conditions based on distribution decision information, and the generation of the first notification information based on service indication information, are both performed by the server.
[0172] 2) The server can send distribution decision information to the first terminal device. Part of the service distribution strategy information is the distribution decision information.
[0173] The server is responsible for monitoring whether a target event has occurred based on event triggering information and for generating the first notification information based on service indication information. The first terminal device is responsible for determining whether the target information meets the service distribution conditions based on distribution decision information.
[0174] 3) The server can send event triggering information and distribution decision information to the first terminal device. Part of the service distribution strategy information consists of event triggering information and distribution decision information.
[0175] Specifically, the first terminal device is responsible for monitoring whether a target event has occurred based on event triggering information, and for determining whether the target information meets the service distribution conditions based on distribution decision information. The server is responsible for generating the first notification information based on service indication information.
[0176] 4) The server can send service instruction information to the first terminal device. Part of the service distribution strategy information is the service instruction information.
[0177] Specifically, the server is responsible for monitoring whether a target event has occurred based on event triggering information, and for determining whether the target information meets the service distribution conditions based on distribution decision information. The first terminal device is responsible for generating the first notification information based on service indication information.
[0178] 5) The server can send event triggering information and service indication information to the first terminal device. Part of the service distribution strategy information consists of event triggering information and service indication information.
[0179] Specifically, the first terminal device performs the functions of monitoring whether a target event has occurred based on event triggering information and generating a first notification based on service indication information. The server performs the function of determining whether the target information meets the service distribution conditions.
[0180] 6) The server can send distribution decision information and service instruction information to the first terminal device. Part of the service distribution strategy information is distribution decision information and service instruction information.
[0181] Specifically, the server executes the process of monitoring whether a target event has occurred based on event triggering information. The first terminal device executes the process of determining whether the target information meets the service distribution conditions based on distribution decision information, and generating a first notification based on service indication information.
[0182] It should be noted that in Method 3, the distribution decision information can be one or more sub-decision information, each sub-decision information corresponding to a sub-condition. When there are multiple sub-decision information, the judgment of the service distribution condition can be executed on the server or all can be sent to the first terminal device for execution, depending on the actual application scenario and requirements.
[0183] Method four: The server can send part of the service distribution strategy information to the first terminal device. In other words, the server and the first terminal device each deploy a part of the service distribution strategy and work together to execute the logic of the service distribution strategy.
[0184] The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition, and the second sub-decision information indicates the second sub-condition. The service distribution conditions include both the first and second sub-conditions. Some information in the service distribution strategy contains either the first or second sub-decision information; that is, the distribution decision information is split into two parts. One part of the service distribution condition judgment is executed by the first terminal device, and the other part is executed by the server. Whether the partial information in the service distribution strategy contains trigger event information and service indication information is not limited. Based on different combinations of these information, there are eight possible scenarios for the partial information in the service distribution strategy, which are explained below.
[0185] 1) The server can send trigger event information, first sub-decision information, and service indication information to the first terminal device. Part of the service distribution strategy information includes trigger event information, first sub-decision information, and service indication information.
[0186] Specifically, the first terminal device performs the following actions: monitoring whether a target event has occurred based on event trigger information; determining whether first sub-information (obtained based on first sub-decision information) meets first sub-conditions based on first sub-decision information; and generating first notification information based on service indication information. The server performs the following action: determining whether second sub-information (obtained based on second sub-decision information) meets second sub-conditions based on second sub-decision information.
[0187] 2) The server can send trigger event information and first sub-decision information to the first terminal device. Part of the service distribution strategy information consists of trigger event information and first sub-decision information.
[0188] Specifically, the first terminal device performs the following actions: monitoring whether a target event has occurred based on event triggering information and determining whether the first sub-information meets the first sub-condition based on the first sub-decision information. The server performs the following actions: determining whether the second sub-information meets the second sub-condition based on the second sub-decision information and generating the first notification information based on the service indication information.
[0189] 3) The server can send first sub-decision information and service instruction information to the first terminal device. Part of the service distribution strategy information consists of first sub-decision information and service instruction information.
[0190] Specifically, the server executes the functions of monitoring whether a target event has occurred based on event triggering information and determining whether the second sub-information meets the second sub-condition based on the second sub-decision information. The first terminal device executes the functions of determining whether the first sub-information meets the first sub-condition based on the first sub-decision information and generating the first notification information based on the service indication information.
[0191] 4) The server can send the first sub-decision information to the first terminal device. Part of the service distribution strategy information is the first sub-decision information.
[0192] Specifically, the server executes the following steps: monitoring whether a target event has occurred based on event triggering information; determining whether the second sub-information meets the second sub-condition based on the second sub-decision information; and generating the first notification information based on service indication information. The first terminal device executes the following step: determining whether the first sub-information meets the first sub-condition based on the first sub-decision information.
[0193] 5) The server can send trigger event information, second sub-decision information, and service indication information to the first terminal device. Part of the service distribution strategy information includes trigger event information, second sub-decision information, and service indication information.
[0194] Specifically, the first terminal device performs the following actions: monitoring whether a target event has occurred based on event triggering information; determining whether the second sub-information meets the second sub-condition based on the second sub-decision information; and generating the first notification information based on service indication information. The server performs the action of determining whether the first sub-information meets the first sub-condition based on the first sub-decision information.
[0195] 6) The server can send trigger event information and second sub-decision information to the first terminal device. Part of the service distribution strategy consists of trigger event information and second sub-decision information.
[0196] Specifically, the first terminal device performs the functions of monitoring whether a target event has occurred based on event triggering information and determining whether the second sub-information meets the second sub-condition based on the second sub-decision information. The server performs the functions of determining whether the first sub-information meets the first sub-condition based on the first sub-decision information and generating the first notification information based on the service indication information.
[0197] 7) The server can send second sub-decision information and service instruction information to the first terminal device. Part of the service distribution strategy information consists of second sub-decision information and service instruction information.
[0198] Specifically, the server executes the following steps: monitoring whether a target event has occurred based on event triggering information, and determining whether the first sub-information meets the first sub-condition based on the first sub-decision information. The first terminal device executes the following steps: determining whether the second sub-information meets the second sub-condition based on the second sub-decision information, and generating the first notification information based on the service indication information.
[0199] 8) The server can send second sub-decision information to the first terminal device. Part of the service distribution strategy information is the second sub-decision information.
[0200] Specifically, the server executes the following steps: monitoring whether a target event has occurred based on event triggering information; determining whether the first sub-information meets the first sub-condition based on the first sub-decision information; and generating the first notification information based on service indication information. The first terminal device executes the following steps: determining whether the second sub-information meets the second sub-condition based on the second sub-decision information.
[0201] The first sub-condition can be a prerequisite for the second sub-condition, or the second sub-condition can be a prerequisite for the first sub-condition. When the source of the first sub-information is the first terminal device, the determination of whether the first sub-information satisfies the first sub-condition is performed by the first terminal device; when the source of the first sub-information is the server, the determination of whether the first sub-information satisfies the first sub-condition is performed by the server. When the source of the second sub-information is the first terminal device, the determination of whether the second sub-information satisfies the second sub-condition is performed by the first terminal device; when the source of the second sub-information is the server, the determination of whether the second sub-information satisfies the second sub-condition is performed by the server.
[0202] In the above solution, the server can determine how to deploy the service distribution strategy according to business needs, so as to make reasonable use of equipment resources, avoid resource waste, and further improve business processing efficiency.
[0203] S302. Display the target service through the target access portal.
[0204] In this embodiment, the first terminal device can send the acquired first notification information to the target access portal, which can then display the target service based on the first notification information. The target service can be one of the following applications: HarmonyOS Meta Service, Quick App, Mini Program, or HarmonyOS Application. The target service can be presented in the form of a card or icon, providing users with an intuitive and convenient service experience.
[0205] For example, the first terminal device can be a user's mobile phone, and the target event is receiving a Bluetooth broadcast message from milk tea shop A. When the user is resting at the entrance of milk tea shop A, the mobile phone receives the Bluetooth broadcast information from milk tea shop A. At this time, the mobile phone can obtain its own location information and current time. Based on the location information, it determines whether the mobile phone is inside the milk tea shop and whether the current time is within the milk tea shop's opening hours. If the mobile phone determines that it is inside the milk tea shop based on its location information and that the current time is within the milk tea shop's opening hours, the mobile phone can generate a first notification message and send the first notification message to the negative one screen. The first notification message is used to notify the negative one screen to display the ordering service. Here, the target service is the ordering service, and the target access point is the negative one screen. Thus, unlike related technologies where the mobile phone receives a Bluetooth broadcast message from milk tea shop A and immediately displays the ordering service to the user, this method considers both the event of the broadcast message received by the mobile phone and the mobile phone's own environment and / or state to determine the timing of service distribution, improving the accuracy of determining the timing of service distribution and further improving the accuracy of service distribution.
[0206] For example, the first terminal device can be a user's mobile phone. When the user's mobile phone receives a broadcast signal from a Bluetooth device in restaurant B, it determines its own location and current time (i.e., target information). If its location is in the ordering area of restaurant B and the current time is within the business hours of restaurant B, the mobile phone can generate a first notification and send the first notification to the negative one screen. The first notification is used to notify the negative one screen on the mobile phone to display the ordering service of restaurant B. As shown in Figure 4, the negative one screen can display an ordering icon representing the ordering service based on the first notification. Here, the target event is sensing the broadcast signal from the Bluetooth device in restaurant B; the target distribution conditions include two conditions: the user's geographical location is in the ordering area of restaurant B, and the current time is within the business hours of restaurant B.
[0207] This application provides a service distribution method, which includes: obtaining first notification information, the first notification information being used to notify a target access point on a first terminal device to display a target service, the first notification information being generated when a target event occurs and the target information meets service distribution conditions, the target information representing the state of the first terminal device and / or the environment in which the first terminal device is located; and displaying the target service through the target access point. Thus, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meets the service distribution conditions, the accuracy and efficiency of generating the first notification information are ensured. The generated first notification information is then given to the target access point, and the target service is displayed through the target access point, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and affect their experience.
[0208] Figure 5 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following explanation uses the example of distributing all service distribution strategies to the first terminal device to illustrate the service distribution method provided in this embodiment. As shown in Figure 5, the service distribution method includes steps S401 to S407, which will be explained in detail below.
[0209] S401, Server generates service distribution strategy.
[0210] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located.
[0211] In one possible implementation, the service distribution strategy consists of three parts: event triggering information, distribution decision information, and service indication information. The event triggering information indicates a target event, which is the trigger point for the user's mobile phone to begin executing the service distribution strategy. The distribution decision information determines whether the detection results of the environment and / or state of the user's first terminal device meet the service distribution conditions, and indicates these conditions. The service indication information indicates whether the target service is displayed through the target access point, or indicates the display method when displaying the target service through the target access point.
[0212] In this embodiment, a service distribution strategy can be generated based on at least one of the following: historical usage data of the target service, user feedback on historical usage of the target service, and user interest in the target service. Alternatively, a service distribution strategy can also be generated based on service distribution configuration information. Generating a service distribution strategy based on service distribution configuration information can be achieved in the following ways:
[0213] Method 1: You can obtain a strategy generation model, input the service distribution configuration information into the strategy generation model, and after analyzing the service distribution configuration information, the strategy generation model outputs the service distribution strategy. The strategy generation model is pre-trained using a neural network algorithm and incorporates the characteristics of different industries in terms of business forms. It can automatically generate corresponding service distribution strategies based on the input data.
[0214] Method 2: Obtain the target strategy template. Based on the service distribution configuration information and the target strategy template, generate a service distribution strategy. The target strategy template represents the business characteristics of the industry corresponding to the target service. The server stores multiple preset candidate strategy templates, each representing the business characteristics of different industries. Different candidate strategy templates define the initial distribution strategy for different industries and business models. The server can analyze the service distribution configuration information to determine the industry to which the target service belongs, and then select the corresponding candidate strategy template from the multiple candidate strategy templates to obtain the target strategy template. The service distribution configuration information and the target strategy template are then merged to obtain the service distribution strategy.
[0215] For example, the candidate strategy template for the scenic area ticketing service defines an initial distribution strategy for the service. This initial distribution strategy indicates that the initial target event is the detection of a Bluetooth device at the scenic area gate. The initial service distribution conditions include Condition1 and Condition2: Condition1: The user's location is within the scenic area gate's perimeter; Condition2: The current time is during the scenic area's opening hours; and the initial target service is the scenic area ticketing meta-service. Similarly, the candidate strategy template for the parking scenario defines an initial distribution strategy for the parking service. This initial distribution strategy indicates that the initial target event is the mobile phone disconnecting from Bluetooth. The initial service distribution conditions include Condition1 and Condition2: Condition1: The disconnected Bluetooth device is the vehicle's infotainment system; Condition2: The mobile phone's location is within the parking lot when disconnected; and the initial target service is the parking meta-service.
[0216] In this embodiment, the service distribution configuration information may be obtained by the second terminal device in response to the developer's input operation and sent to the server; alternatively, it may be generated by the server based on the historical usage of the target service, the spatial environment information of the service access point, user feedback information, and the business requirements information of the service access point. Of course, it may also be determined by the server based on the obtained initial service distribution configuration information.
[0217] For example, in bubble tea shop A, the developer installs a Bluetooth Beacon near the counter, hoping that when a user approaches the counter, the ordering page will be displayed directly on the lock screen. The developer can submit service distribution configuration information on a second terminal device. The second terminal device can respond to the user's operation, obtain the service distribution configuration information, and send the service distribution configuration information to the server. The server can generate a service distribution policy based on the service distribution configuration information and the corresponding target policy template. The target event indicated by the event trigger information in the service distribution policy is the detection of a Bluetooth Beacon, UUID=42424242-4242-4242-4242-4242424242. The service distribution conditions indicated by the distribution policy information include Condition1 and Condition2. Condition1: The Wi-Fi router signal with SSID=MyTeaHouse can be detected from the surrounding area. Condition2: The time is between 10:00 and 22:00. Condition3: The user's current location is within the shopping mall fence. The service indication information indicates that the notification will be displayed silently on the lock screen: https: / / example.com / XXX service page.
[0218] In this embodiment, the service distribution configuration information includes at least one of the following: service access point information, device information corresponding to the service access point, target service information, and distribution requirement information. The service access point is the physical space where the target service is applied, such as a store. The developer is responsible for creating, configuring, and maintaining the target service.
[0219] In one possible implementation, the service distribution configuration information includes information about the service access point, the device information corresponding to the service access point, the target service information, and distribution requirement information. The distribution area could be, for example, the area within a store where the target service is accessed or applied, and the developer could be the store owner.
[0220] For example, the information of the service access point can be store information, which includes the store's basic information and its business information. Table 1 is a detailed table of store information, where the "Fields" in the header of Table 1 indicate the category of each piece of information in the store information, the "Description" is a detailed explanation or description of each piece of information in the store information, and the "Example" is an example of each piece of information in the store information. As shown in Table 1, the basic information of the store includes at least one of the following: store name, store description, store location and store floor plan, the shopping mall where the store is located, the location of the shopping mall, and the store's location within the shopping mall; the business information of the store includes at least one of the following: business category and store business hours. The store name refers to the name of the store accessing or applying the target service, such as XXX's restaurant; the store description is a brief introduction to the store's business content, such as selling milk tea and desserts; the shopping mall location refers to the global positioning system (GPS) polygon location of the shopping mall, such as a GPS polygon (i.e., the polygon boundary of a geographical area defined by GPS coordinates).
[0221] Table 1
[0222] The device information corresponding to the service access point refers to the information of the device installed by the developer in the store for the user's mobile phone (i.e., the first terminal device) to detect. This device can be called a sensing device. The sensing device can be at least one of the following: Bluetooth device, Wi-Fi device, ultra-wideband (UWB) device, and near-field communication (NFC) device. For example, the Bluetooth device can be a Bluetooth Beacon device, and the signal broadcast by the Bluetooth Beacon device can be called a Beacon signal. The sensing device can periodically broadcast signals or interact with information upon touch, allowing the user's mobile phone to detect its presence.
[0223] The number of sensing devices can be at least one, and the device information corresponding to the service access point includes device attribute information and operational configuration information. Table 2 is a detailed table of device information corresponding to the service access point. In Table 2, the "Fields" in the header indicate the category of each piece of information in the device information, the "Description" is a detailed explanation or description of each piece of information in the device information, and the "Example" is an example of each piece of information in the device information. As shown in Table 2, the device attribute information includes at least one of the following: device identifier, device name, device manufacturer, device type, device installation location, device media access control address (MAC) address, and protocol type. The device's operational configuration information includes at least one of the following: broadcast power, broadcast interval, device universally unique identifier (UUID), Beacon Major, Beacon Minor, and Wi-Fi SSID (Service Set Identifier for Wireless Networks). The sensing device can be a Bluetooth Beacon device, and the Beacon UUID can be generated after the sensing device installed in the store registers with the device cloud. For example, the sensing device can send a registration request to the device cloud, which includes the device identifier, device name, device manufacturer, device type, device installation location, device media access control address, protocol type, Beacon Major, and Beacon Minor. After receiving the registration request, the device cloud will perform a series of verification operations, including data format verification, uniqueness verification, and legality verification, to ensure that the submitted information is accurate, legal, and unique. After the sensing device successfully registers with the device cloud, the device cloud will generate a UUID for the sensing device. This UUID is globally unique and is used to accurately identify and locate the device in subsequent device management and communication. Wi-Fi SSID refers to the SSID of the Wi-Fi network that the sensing device needs to connect to. Wi-Fi SSID has two uses: Use 1: When the sensing device needs to connect to the Wi-Fi, it needs to know the SSID of the Wi-Fi network; Use 2: When a user's mobile phone senses a broadcast signal sent by the sensing device, it needs to verify whether the Wi-Fi SSID sensed by the user's mobile phone is the same Wi-Fi SSID in the device information to ensure that it has not been impersonated, thereby improving the accuracy of service distribution.
[0224] Table 2
[0225] The broadcast power (i.e., transmission power) in the device information can be fixed or it can change periodically.
[0226] Taking a Bluetooth device as the sensing device, with a periodically changing broadcast power as an example, Bluetooth device q1 is placed in the bar area, and its broadcast power exhibits periodic changes. At the first moment, its broadcast power is w1, while at the second moment, the broadcast power is adjusted to w2, where w1 is greater than w2. As shown in Figure 6, this power change directly affects the device's signal coverage area, making the signal coverage area at the first moment with broadcast power w1 significantly larger than the signal coverage area at the second moment with broadcast power w2. The interval between the first and second moments can be set to 1 minute. Through the dynamic change of broadcast power, the first terminal device (such as a user's mobile phone) can more accurately determine the user's location, further improving the accuracy of service distribution. In this scenario, when Bluetooth device q1 uses UUID-yellow, it indicates that Bluetooth device q1 is broadcasting a signal with a higher transmission power, covering a larger area, as shown in Figure 6 when the broadcast power is w1; when Bluetooth device q1 uses UUID-blue, it indicates that Bluetooth device q1 is broadcasting a signal with a lower transmission power, covering only a smaller area, as shown in Figure 6 when the broadcast power is w2.
[0227] When a user enters the dining area, their phone will first detect the UUID-yellow. The phone will then wait for a preset time, such as one minute, to determine the user's location. If the phone does not detect the UUID-blue within this time, it can determine that the user is in the dining area and not at the bar.
[0228] Based on the above scheme, by dynamically adjusting the broadcast power, the first terminal device (e.g., a mobile phone) can more accurately determine the user's location, thus significantly improving the accuracy of service distribution. This design allows us to effectively determine the user's location with only one Bluetooth device, q1, eliminating the need to deploy multiple Bluetooth devices. This not only achieves precise user location but also significantly reduces device deployment costs, achieving a dual optimization of efficiency and cost. In practical applications, the user's mobile phone can determine the relative position between the user and Bluetooth device q1 by detecting whether it can receive the broadcast signal before and after the broadcast power change. This method is both simple and efficient, providing a new and more cost-effective user positioning method. This scheme can be applied to more uniquely structured store layouts to meet the service distribution needs of more developers.
[0229] In this embodiment, the target service may be, for example, a HarmonyOS meta-service, a quick app, a mini-program, or a HarmonyOS application. Table 3 is a detailed information table of the target service. In the header of Table 3, "Fields" indicate the category of each piece of information in the target service, "Description" is a detailed explanation or description of each piece of information in the target service, and "Examples" are examples of each piece of information in the target service. As shown in Table 3, the information of the target service includes the identifier of the target service, the name of the target service, the name of the developer, the service jump link, the service page name, and the service page link.
[0230] Table 3
[0231] Distribution demand information represents the mapping relationship between the aforementioned device information, store information, and target service information, defining where and under what conditions the developer wants users to see the target service within the store. When a consumer (i.e., a user) clicks on the icon or card of the target service, they are redirected to a different service page. Table 4 is a detailed table of distribution demand information. In the header of Table 4, "Fields" indicate the category of each piece of information in the distribution demand information, "Description" is a detailed explanation or description of each piece of information in the distribution demand information, and "Examples" are examples of each piece of information in the distribution demand information. As shown in Table 4, distribution demand information includes information on the distribution service page, distribution area, and sensing device. The service distribution page refers to the service identifier or service page, such as "com.example.app1234567890", and the service page is such as the order page; the distribution area refers to the fence drawn by the developer on the store's floor plan, such as the polygonal fence of the store's bar area; the sensing device information can be the Beacon UUID, Major, Minor, etc., from the aforementioned device information, or Wi-Fi SSID information, RSSI value, etc. Beacon UUIDs can be defined one or more. When multiple UUIDs are defined, the condition is met only if all devices are detected simultaneously.
[0232] Table 4
[0233] In one possible implementation, the distribution request information only specifies the distribution area. The server can then determine the sensing devices based on device information, meaning it identifies which devices have reached the specified area. If the developer specifies both the distribution area and sensing devices in the distribution request information, the system will only distribute the service if both conditions are met simultaneously, such as the user's phone being within the distribution area and receiving a broadcast signal from a sensing device.
[0234] The following provides a detailed explanation of how the server determines the service distribution configuration information based on the obtained initial service distribution configuration information.
[0235] In this process, developers can input initial service distribution configuration information on the user interface (UI) of the developer platform on the second terminal device. The second terminal device responds to the user's input, obtains the initial service distribution configuration information, and then sends the initial service distribution configuration to the server. Upon receiving the initial service distribution configuration information, the server can verify the initial service distribution configuration information and obtain the verification result; based on the verification result, it determines the service distribution configuration information.
[0236] In one possible implementation, the initial service distribution configuration information includes the initial information of the service access point, the device information of the initial sensing device corresponding to the service access point, the initial information of the target service, and the initial distribution requirement information.
[0237] The initial information for the service access point includes the store name, store description, store location, business category, store business hours, store floor plan, the shopping mall where the store is located, and the store's location within the shopping mall, all submitted by the developer.
[0238] For example, the initial information of the service access point submitted by the developer can be verified in the following way:
[0239] 1) Store name, description, and business category: The format is validated using regular expressions and compared with business rules to ensure the content is legal.
[0240] 2) Store business hours: Verify the logical rationality of the time range.
[0241] 3) Store floor plan: Verify the image format and content to ensure it matches the actual store layout.
[0242] 4) Store location and shopping mall location: Use a geocoding library to verify the authenticity and accuracy of the geographical location.
[0243] The initial information of the target service includes the target service identifier, the target service name, the developer's name, the service redirect link, the service page name, and the service page link.
[0244] For example, validating the initial information of the target service submitted by the developer can be achieved in the following ways:
[0245] 1) Target service identifier and name: Verify uniqueness and avoid conflicts.
[0246] 2) Service redirect links and page links: Use HTTP status codes and response content to verify the validity of the links.
[0247] 3) Developer's name: Compare with the developer's registration information to ensure consistency.
[0248] The initial distribution requirement information includes the distribution service page, distribution area, and sensing devices.
[0249] For example, the initial distribution request information submitted by the developer can be validated in the following ways:
[0250] 1) Distribution service page: Verify whether the page exists and whether the content is related to the target service.
[0251] 2) Distribution Area: Verify the rationality of the distribution area by combining the store floor plan and equipment information.
[0252] 3) Sensing devices: Verify whether the devices support the required protocols and functions to ensure that they can correctly sense and trigger service distribution.
[0253] The initial sensing device information includes initial device attribute information and initial operational configuration information. Initial device attribute information includes device identifier, device name, device manufacturer, device type, device installation location, device media access control address (MAC) address, and device protocol type.
[0254] Developers, typically store managers, purchase initial sensing devices such as Bluetooth devices and routers. To ensure these devices function correctly and communicate with the device cloud, developers use specialized configuration tools to connect them locally. During configuration, developers set network connection parameters for devices like Bluetooth devices, such as the SSID and key (password) of nearby Wi-Fi networks, to ensure internet access. Additionally, developers configure a token for each device to connect to the device cloud. This token serves as an authentication credential, enabling the device to establish a persistent connection with the device cloud. Once a persistent connection is successfully established, the device cloud can remotely configure and manage these devices. This means the device cloud can monitor device status in real time and make necessary configuration adjustments. A UUID (Universally Unique Identifier) is typically generated by the device cloud after successful registration. This UUID is a unique identifier for each device, used to accurately identify and manage each device within the device cloud. The device cloud can be a device management cloud platform running on a server, providing services such as data storage, cloud computing, and device management.
[0255] For example, the initial device attribute information can be validated in the following ways:
[0256] 1) Device identifier and device name: Use regular expressions to check whether the format conforms to predefined rules and to verify uniqueness to avoid duplication.
[0257] 2) Equipment manufacturers: Use regular expressions to validate whether their format conforms to predefined rules;
[0258] 3) Equipment installation location: Verify the rationality of equipment placement by referring to the store's floor plan.
[0259] 4) Device type and protocol type: Compare with the preset legal range.
[0260] 5) MAC address: Verify its uniqueness and whether it is a standard MAC address format to avoid duplicate registration or counterfeit devices.
[0261] The initial operational configuration information of the sensing device can be input by the developer. Verification of this initial operational configuration information can be achieved through the following methods:
[0262] The initial running configuration information can be at least one of the following parameters: Beacon UUID, Beacon Major, Beacon Minor, Wi-Fi SSID, broadcast power, and broadcast interval.
[0263] In one possible implementation, the verification of Beacon UUID, Beacon Major, Beacon Minor, and Wi-Fi SSID can be achieved in the following way:
[0264] 1) Wi-Fi SSID: You can first check whether it belongs to a known or legitimate network list.
[0265] 2) Beacon Major: You can first verify whether it conforms to the standard format of the corresponding protocol.
[0266] 3) Beacon UUID: The server can interact with the device cloud's security mechanism to ensure that the generated UUID conforms to the device cloud's specifications.
[0267] When the server detects that other Bluetooth devices (such as Bluetooth Beacon devices) are deployed close to the device location configured by the developer, it generates a UUID that differs from the surrounding deployed Bluetooth Beacon devices, along with a staggered broadcast interval. When there are multiple Bluetooth Beacon devices, the server can dynamically configure and change the UUID and Beacon Major of a particular Bluetooth Beacon device.
[0268] In another possible implementation, verifying the Beacon UUID, Beacon Major, Beacon Minor, Wi-Fi SSID, broadcast power, and broadcast interval can be achieved in the following way:
[0269] If the initial operational configuration information is determined to be accurate based on the distribution demand information, it is used as the operational configuration information. If the initial operational configuration information is determined to be inaccurate based on the distribution demand information, the operational configuration information is determined based on the spatial environment information of the service access point and the distribution demand information. The spatial environment information includes the store floor plan and / or the coverage area of the Beacon within the store. Operational configuration information can be generated based on the spatial environment information and the distribution demand information, and then distributed to the sensing devices so that the sensing devices can operate according to the operational configuration information.
[0270] The server can calculate the signal coverage area of the current sensing devices under the initial operating configuration information, based on the signal coverage range of the current sensing devices and the store floor plan provided by the developer. Then, the server can compare this coverage area with the distribution area specified in the distribution requirement information. If the comparison result indicates that the coverage area can cover the distribution area, the initial operating configuration information is determined to be accurate and can be used as the operating configuration information. If the comparison result indicates that the coverage area cannot cover the distribution area, the initial operating configuration information is determined to be inaccurate, and the operating configuration information can be regenerated based on the store floor plan and the coverage range of the current devices within the store.
[0271] In cases where the comparison results indicate that the coverage area cannot cover the distribution area, it is determined that the initial operational configuration information is inaccurate. For example, the current transmission power and interval settings are insufficient to support the requirements of the distribution area. This could be due to insufficient transmission power, preventing the Bluetooth signal from covering the entire distribution area; or excessively long transmission intervals, resulting in a low transmission frequency for the Bluetooth device, which may prevent the user from promptly detecting the sensing device as they move within the distribution area.
[0272] For example, based on the signal coverage of the current sensing device, combined with the store floor plan and distribution area provided by the developer, operational configuration information is automatically generated. For instance, the initial transmission power (i.e., the original transmission power) is adjusted to obtain the transmission power, specifically by adjusting 500mW to 100mW and the transmission interval from 200ms to 500ms. The operational configuration information can be the transmission power.
[0273] Once the server generates the runtime configuration information, it can send the runtime configuration information to the Bluetooth device (i.e., the sensing device) based on the communication link between the device cloud and the Bluetooth device. This enables the Bluetooth device to operate according to the runtime configuration information, improving the accuracy of broadcast signal coverage and further enhancing the accuracy of sensing.
[0274] In addition, this method for generating runtime configuration information is also applicable to the configuration of Wi-Fi routers and portable devices for store staff. The runtime configuration information can also cover other configuration content such as software upgrades, battery settings, and the addition of broadcast fields.
[0275] In related technologies, developers can only manually configure the runtime configuration information, which is cumbersome and inaccurate. This application simplifies the configuration process and improves configuration efficiency and accuracy by automatically determining the runtime configuration information.
[0276] Based on the above solution, verifying the information submitted by developers (i.e., the initial distribution configuration information) ensures that service distribution reaches target users more accurately, resulting in a more accurate service distribution experience. Furthermore, by automatically distributing runtime configuration information through the communication link between the device cloud and the device, it ensures that the configuration information takes effect quickly, achieving the optimal operating state of the device and improving the overall operating efficiency of the device.
[0277] In this embodiment of the application, when the initial runtime configuration information determined based on the distribution demand information is inaccurate, the runtime configuration information can also be determined based on the spatial environment information of the service access point and the distribution demand information in the following ways:
[0278] Based on spatial environment information and distribution demand information, first operational configuration information is generated. If the first operational configuration information is determined to be accurate based on the distribution demand information, it is used as the operational configuration information. If the first operational configuration information is determined to be inaccurate based on the distribution demand information, device deployment information is sent to the second terminal device. The device deployment information is used to adjust the device layout in the distribution area. Upon receiving deployment confirmation information from the second terminal device, the corresponding adjusted device configuration information, i.e., operational configuration information, is generated in the distribution area based on the spatial environment information and distribution demand information.
[0279] In one possible implementation, the spatial environment information can be a floor plan of the store and the signal coverage range of the Bluetooth Beacon device within the store. The server can first generate first operating configuration information based on the floor plan of the store and the signal coverage range of the Bluetooth Beacon device. Based on the coverage range of the Bluetooth Beacon device and the floor plan of the store, the server calculates the coverage area of the Bluetooth Beacon device under the first operating configuration information. If the coverage area can cover the distribution area, the server determines that the first operating configuration information is accurate. If the comparison result indicates that the coverage area cannot cover the distribution area, the server determines that the first operating configuration information is inaccurate.
[0280] For example, if the device information submitted by the developer only involves one Bluetooth Beacon device q1, and the installation location of Bluetooth Beacon device q1 is not in the ordering area, or is installed in a relatively remote location; the server determines the first operating configuration information based on the store floor plan and the signal coverage range of Bluetooth Beacon device q1. The signal coverage area of Bluetooth Beacon device q1 under the first operating configuration information cannot cover the distribution area. The first operating configuration information is, for example, broadcast power. As shown in Figure 7(a), there is only one Bluetooth Beacon device q1 in the ordering area. The coverage area of Bluetooth Beacon device q1 under the first operating configuration information cannot cover the ordering area. Therefore, the server can send device deployment information to the second terminal device (such as the developer's mobile phone) based on the rectangular shape of the ordering area. This device deployment information is used to suggest that the developer deploy two Bluetooth Beacon devices. This device deployment information carries the deployment location information of the two Bluetooth Beacon devices. That is, it is suggested to add a new Bluetooth Beacon device q2; the installation location and coverage area of the two Bluetooth Beacon devices are shown in Figure 7(b). The Bluetooth Beacon device q1 and the Bluetooth Beacon device q2 have different UUIDs.
[0281] Upon receiving deployment confirmation information from the second terminal device, the server can generate operational configuration information for Bluetooth Beacon device q1 and Bluetooth Beacon device q2. The server then sends the operational configuration information for Bluetooth Beacon device q1 to Bluetooth Beacon device q1, enabling it to operate under the corresponding configuration. Similarly, the server sends the operational configuration information for Bluetooth Beacon device q2 to Bluetooth Beacon device q2, enabling it to operate under the corresponding configuration. Here, Beacon device q1 and Bluetooth Beacon device q2 are sensing devices.
[0282] For example, the device information submitted by the developer may only involve one Bluetooth Beacon device q1, but involves multiple different distribution areas, each requiring the display of different target services. These distribution areas could be, for example, a reading area, a rest area, an open area, a bar area, and a lounge area, where each area needs to display different target services. As shown in Figure 8(a), the developer initially only deployed Bluetooth Beacon device q1 in the reading area. Bluetooth Beacon device q1, under the generated first runtime configuration information, cannot meet the distribution requirements. The server can send device deployment information to the second terminal device. This device deployment information can establish that the developer also establishes a Bluetooth Beacon device in the rest area and another in the development area. The device deployment information carries the deployment location information of the Bluetooth Beacon devices. Figure 8(b) shows a Bluetooth Beacon device q2 deployed by the developer in the rest area and a Bluetooth Beacon device q3 deployed in the open area, based on the device deployment information.
[0283] As shown in Figure 8(b), a Bluetooth Beacon device q1 is deployed in the reading area, a Bluetooth Beacon device q2 is deployed in the rest area, and a Bluetooth Beacon device q3 is deployed in the open area. In this scenario, five service distribution policies can be generated. The first policy indicates that the target event is the detection of Bluetooth Beacon device q3, the service distribution condition is that Bluetooth Beacon devices q1 and q2 are not nearby, and the target service is the service corresponding to the open area. The second policy indicates that the target event is the detection of Bluetooth Beacon device q1, the service distribution condition is that Bluetooth Beacon devices q2 and q3 are not nearby, and the target service is the service corresponding to the reading area. The third policy indicates that the target event is the detection of Bluetooth Beacon device q2, the service distribution condition is that Bluetooth Beacon devices q1 and q3 are not nearby, and the target service is the service corresponding to the rest area. The fourth service distribution strategy indicates that the target events are the detection of Bluetooth Beacon devices q1 and q2, the service distribution conditions are that Bluetooth Beacon devices q1 and q2 are nearby, and Beacon device q3 is not nearby, and the target service is the service corresponding to the lounge area. The fifth service distribution strategy indicates that the target event is the detection of Bluetooth Beacon devices q1, q2, or q3, the service distribution conditions are that Bluetooth Beacon devices q1, q2, and q3 are all nearby, and the target service is the service corresponding to the bar area.
[0284] In one possible implementation, the server can distribute device deployment information to the developer configuration tool on the second terminal device. The developer can then adjust the device layout in the distribution area based on this information. This adjustment could include modifying the number and location of devices within the distribution area. The devices in the distribution area before the adjustment are considered initial sensing devices, while the devices after the adjustment are considered sensing devices.
[0285] The above solution sends device topology information to the second terminal device, allowing developers to adjust the device layout in the distribution area based on the device topology information. The server can then generate operational configuration information for the adjusted devices to achieve more accurate area awareness and improve the accuracy of service distribution.
[0286] The generation of adjusted device configuration information for the distribution area based on spatial environment information and distribution demand information can also be achieved through the following methods:
[0287] Based on spatial environment information and distribution requirements, the server generates adjusted second operational configuration information for the devices. The server sends this adjusted operational configuration information to the devices and also sends test task information to the second terminal devices. The test task information instructs the server to test the operation of the adjusted devices within the second operational configuration information. This test task information includes the store floor plan, device location, device coverage area, and distribution range. The server receives test data from the second terminal devices and adjusts the second operational configuration information accordingly to obtain the adjusted configuration information for the devices in the distribution area, i.e., the operational configuration information.
[0288] For example, when the second terminal device receives the test task information, its built-in configuration tool automatically loads and displays the store's floor plan. This floor plan clearly marks the adjusted device locations and their preset distribution areas. Subsequently, the configuration tool accurately calculates the coverage area based on the adjusted device's (i.e., the sensing device's) second operational configuration information and displays it intuitively on the interface. The developer then moves the second terminal device within the store to conduct on-site testing. Upon reaching a preset location, the developer marks the current location using the configuration tool and records test data in real time. To obtain more accurate results, multiple locations are typically selected for testing, such as 20 key locations. This test data includes the configuration tool's own location information and important information such as the strength of broadcast signals received in the surrounding area. After completing the test, the second terminal device sends the collected test data to the server for further analysis. The server uses this test data to determine whether the adjusted second operating configuration information of the device is accurate. For example, if it finds that the transmission power setting in the second operating configuration information is too high or too low, it will adjust the transmission power accordingly to obtain the optimal configuration (i.e., obtain the operating configuration information).
[0289] In the above solution, the collaborative work of developers plays a crucial role. They can directly collect test data on-site and dynamically adjust the second-run configuration information based on this data via a server. For example, if a developer stands in a certain location in the store but does not receive a Beacon signal, the server can be used to increase the device's transmission power; conversely, if a developer stands in a location in the store where they shouldn't receive a signal but unexpectedly does, the server can be used to decrease the device's transmission power. Through this multiple adjustment method, it can be ensured that the Beacon signal is stably received in every location where it should receive a signal, while locations where it shouldn't receive a signal are not interfered with, thus ensuring the accuracy and effectiveness of signal coverage.
[0290] In this application embodiment, the sensing device can be either a fixed device or a mobile device. Such mobile devices typically refer to devices carried by shop assistants, such as their mobile phones. These devices are equipped with high-precision positioning facilities, such as ultra-wideband (UWB) technology, for accurate location tracking. In some application scenarios, shop owners want more precise service delivery, meaning that the corresponding service is only triggered when a shop assistant approaches a customer. Examples include services such as evaluating a shop assistant's service attitude or giving tips.
[0291] As shown in Figure 9, the dining area itself may not have Beacon signal coverage, but once a staff member approaches a customer, the customer's mobile phone can detect the staff member's portable device. This detection can be achieved in various ways, such as broadcasting signals from a portable Bluetooth Beacon device, or utilizing other near-field sensing technologies, such as Huawei Share. Simultaneously, the staff member's portable device is equipped with an independent positioning device, such as UWB technology, ensuring accurate determination of whether the staff member is currently in the store and their specific location. This portable device can be simply referred to as the staff member device. In this scenario, the target event in the service distribution strategy could be detecting the staff member device, followed by a 10-second delay, and then detecting the staff member device leaving. The service distribution condition could be the staff member device being in the store, and the target service indicated by the service instruction information could be a service evaluation service.
[0292] Based on the above technical solution, accurate and real-time service distribution can be achieved, thereby providing customers with a more convenient and personalized service experience. By utilizing the positioning capabilities of portable devices and their sensing capabilities with users' mobile phones, precise service distribution can be realized. This solution is particularly suitable and efficient in scenarios involving large areas where comprehensive coverage through fixed equipment is difficult.
[0293] S402, Server sends service distribution strategy.
[0294] In this embodiment, the server can package the service distribution strategy file into a file of a predetermined format, such as XML or JSON. Using a configured distribution channel, the packaged file is sent to multiple terminal devices. These multiple terminal devices can be devices that have previously used the target service, or devices of interested users.
[0295] In one possible implementation, historical usage records of the target service can be obtained to identify devices that have previously used the target service; alternatively, application browsing history, search history, and usage feedback related to the target service can be obtained to identify devices of interested users. Furthermore, factors such as the device's operating system, geographical distribution, and network connectivity status can be considered to identify multiple terminal devices.
[0296] S403. The first terminal device receives a service distribution policy from the server. The service distribution policy includes event triggering information, distribution decision information, and service instruction information.
[0297] In this embodiment, the first terminal device will configure and listen to a pre-set distribution channel, such as a push notification service, an email server, or an in-application message queue; when the server sends a service distribution strategy through the distribution channel, the first terminal device will receive the service distribution strategy and store the service distribution strategy.
[0298] S404. The first terminal device monitors whether the target event has occurred based on the event triggering information;
[0299] Among them, the event triggering information indicates the target event, and the triggering source of the target event can be the first terminal device. The triggering source can also be understood as the event source.
[0300] In this embodiment, the first terminal device can parse the event triggering information to determine the specific meaning (i.e., nature) and triggering conditions of the target event. Based on the nature and triggering conditions of the target event, the first terminal device initializes a corresponding monitoring mechanism (e.g., starting a timer, configuring the sensor reading interval, and setting a listener) to collect data related to the target event (e.g., reading data from sensors, checking system status, and listening to user operations). The first terminal device compares the collected data with the triggering conditions to determine whether the triggering conditions of the target event are met. If the triggering conditions are met, the target event is determined to have occurred.
[0301] For example, in a parking scenario, the target event indicated by the event triggering information is, for instance, the mobile phone disconnecting from Bluetooth. The mobile phone can detect its own status information based on the event triggering information. If the detected status information indicates that the mobile phone is in a disconnected Bluetooth state, then the target event is determined to have occurred.
[0302] S405. When a target event occurs, the first terminal device obtains target information and determines whether the target information meets the service distribution conditions based on the distribution decision information.
[0303] The source of the target information is the first terminal device.
[0304] In this embodiment of the application, when a target event occurs, distribution decision information associated with the target event is obtained, and the distribution decision information indicates the service distribution conditions; target information is obtained based on the distribution decision information, and it is determined whether the target information meets the service distribution conditions.
[0305] For example, in a parking scenario, the target event indicated by the event triggering information is, for instance, a mobile phone disconnecting from Bluetooth. The distribution decision information includes a first sub-decision and a second sub-decision. The first sub-decision indicates a first sub-condition, and the second sub-decision indicates a second sub-condition. The service distribution conditions include a first sub-condition and a second condition. The first sub-condition is denoted by Condition1, and the second sub-condition by Condition2. Condition1: The disconnected Bluetooth device is the vehicle's infotainment system; Condition2: The mobile phone was located within the parking lot when the disconnection occurred. When the target event occurs, the mobile phone's state information can be obtained based on the first sub-decision information. If the mobile phone's state information indicates that the device disconnected from Bluetooth is the vehicle's infotainment system, then the mobile phone's state information satisfies Condition1. Then, the mobile phone's location information can be obtained based on the second sub-decision information. If the mobile phone's location information determines that it is within the parking lot, i.e., the mobile phone's location information satisfies Condition2, then the target information satisfies the service distribution conditions. The target information includes the mobile phone's state information (first sub-information) and its location information (second sub-information).
[0306] S406. If the target information meets the service distribution conditions, the first terminal device generates a first notification information based on the service instruction information.
[0307] The first notification information is used to notify the target access entry on the first terminal device to display the target service. The first notification information is generated when the target event occurs and the target information meets the service distribution conditions. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located.
[0308] In this embodiment, if the target information meets the service distribution conditions, a first notification can be generated based on the service indication information. The service indication information indicates the display of the target service through the target access point and the display method of the target service. The target access point may be, for example, the negative one screen, the lock screen, the notification bar, or Xiaoyi suggestions.
[0309] For example, in a parking scenario, the service instruction information may be an instruction to display parking meta-services on the negative one screen; a first notification information is generated based on the service instruction information, which is used to notify the negative one screen to display parking meta-services, and the first notification information is sent to the negative one screen. The target access point is the negative one screen.
[0310] S407. Display the target service through the target access portal.
[0311] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0312] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0313] Figure 10 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the server and another part on the first terminal device. As shown in Figure 10, the service distribution method includes steps S501 to S510, which will be explained in detail below.
[0314] S501, Server generates service distribution strategy.
[0315] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service instruction information.
[0316] S502, The server sends some information from the service distribution strategy.
[0317] Some of the information in this service distribution strategy is event-triggered information.
[0318] In this embodiment of the application, the server can send event triggering information in the service distribution strategy to multiple terminal devices, wherein the multiple terminal devices may be devices that have used the target service in the past, or devices of interested users.
[0319] In one feasible implementation, historical usage records of the target service can be obtained to identify devices that have previously used the target service; alternatively, application browsing history, search history, and usage feedback related to the target service can be obtained to identify devices of interested users. Furthermore, factors such as the device's operating system, geographical distribution, and network connectivity status can be considered to identify multiple terminal devices.
[0320] S503, The first terminal device receives event trigger information from the server.
[0321] In this embodiment of the application, the first terminal device is any one of a plurality of terminal devices; the event triggering information indicates a target event.
[0322] For example, the triggering source of the target event is the first terminal device.
[0323] S504. The first terminal device monitors whether the target event has occurred based on the event triggering information.
[0324] The target event could be, for example, the first terminal device receiving the target Bluetooth signal.
[0325] S505. When the target event occurs, the first terminal device sends a second notification message to the server.
[0326] The second notification message is used to notify the target event of its occurrence.
[0327] In this embodiment of the application, when the target event occurs, the first terminal device generates second notification information and sends the second notification information to the server.
[0328] S506. Upon receiving the second notification information, the server, based on the distribution decision information, obtains the target information and determines whether the target information meets the service distribution conditions.
[0329] For example, the target information could be flight information and / or weather information.
[0330] S507. If the target information meets the service distribution conditions, the server generates the first notification information based on the service instruction information.
[0331] The first notification information is used to notify the target access entry on the first terminal device to display the target service. The first notification information is generated when the target event occurs and the target information meets the service distribution conditions. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located.
[0332] In this embodiment, the service indication information indicates the display of the target service through the target access entry and the display method of the target service. The target access entry may be, for example, the negative one screen, the lock screen, the notification bar, or Xiaoyi suggestions.
[0333] S508, The server sends the first notification information to the first terminal device.
[0334] S509, The first terminal device receives the first notification information from the server.
[0335] S510, the first terminal device displays the target service through the target access portal.
[0336] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0337] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0338] Figure 11 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the endpoint side. As shown in Figure 11, the service distribution method includes steps S601 to S610, which will be explained in detail below.
[0339] S601, Generate service distribution strategy.
[0340] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service instruction information.
[0341] S602. Send part of the service distribution strategy information to the first terminal device, wherein the part of the service distribution strategy information is event triggering information and distribution decision information.
[0342] S603, The first terminal device receives event trigger information and distributes decision information.
[0343] S604. The first terminal device monitors whether the target event has occurred based on the event triggering information.
[0344] S605. When the target event occurs, the first terminal device obtains the target information and determines whether the target information meets the service distribution conditions based on the distribution decision information.
[0345] The target information could be, for example, the location information of the first terminal device.
[0346] S606. If the target information meets the service distribution conditions, send a third notification message to the server. The third notification message is used to notify the target information that the service distribution conditions are met.
[0347] S607. Upon receiving the third notification information, the server generates the first notification information based on the service instruction information.
[0348] S608. Send the first notification information to the first terminal device;
[0349] S609, The first terminal device receives the first notification information.
[0350] S610, the first terminal device displays the target service through the target access portal.
[0351] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0352] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0353] Figure 12 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following description uses the deployment of a service distribution strategy on a server as an example to explain the service distribution method provided in this embodiment of the application in detail. As shown in Figure 12, the service distribution method includes steps S701 to S707, which will be explained in detail below.
[0354] S701, Server generates service distribution strategy.
[0355] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service instruction information.
[0356] S702. The server monitors whether the target event has occurred based on event triggering information.
[0357] The event triggering information indicates the target event, and the triggering source of the target event can be a server.
[0358] In this embodiment of the application, the server can parse the event triggering information to determine the specific meaning and triggering conditions of the target event; based on the nature and triggering conditions of the target event, it can initialize a corresponding monitoring mechanism to collect data related to the target event; then, it can compare the collected data related to the target event with the triggering conditions to determine whether the triggering conditions of the target event are met; when the collected data related to the target event matches the triggering conditions, it can be determined that the target event has occurred.
[0359] For example, the target event indicated by the event triggering information may be a flight event or a weather-related event.
[0360] S703. When a target event occurs, the server obtains the target information and determines whether the target information meets the service distribution conditions based on the distribution decision information.
[0361] In this embodiment of the application, when a target event occurs, the server can obtain associated distribution decision information based on the event triggering information, and the distribution decision information indicates the service distribution conditions; based on the distribution decision information, the server can obtain the target information and determine whether the target information meets the service distribution conditions.
[0362] For example, the target information could be flight information and / or weather information.
[0363] S704. If the target information meets the service distribution conditions, the server generates the first notification information based on the service instruction information.
[0364] The first notification information is used to notify the target access entry on the first terminal device to display the target service. The first notification information is generated when the target event occurs and the target information meets the service distribution conditions. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located.
[0365] In this embodiment, the service indication information indicates the display of the target service through the target access entry and the display method of the target service. The target access entry may be, for example, the negative one screen, the lock screen, the notification bar, or Xiaoyi suggestions.
[0366] S705, The server sends the first notification information to the first terminal device.
[0367] S706, The first terminal device receives the first notification information from the server.
[0368] S707, The first terminal device displays the target service through the target access portal.
[0369] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0370] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0371] Figure 13 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side (i.e., the server side) and another part on the endpoint side. As shown in Figure 13, the service distribution method includes steps S801 to S810. The following provides a detailed explanation of this service distribution method.
[0372] S801, Server generates service distribution strategy.
[0373] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service instruction information.
[0374] S802. The server sends part of the service distribution strategy information to the first terminal device, wherein the part of the service distribution strategy information is distribution decision information.
[0375] S803: The server monitors whether a target event has occurred based on event triggering information.
[0376] S804. In the event of the target event, send a second notification message to the server.
[0377] The second notification message is used to notify the target event of its occurrence.
[0378] S805. Upon receiving the second notification information, the first terminal device obtains the target information and determines whether the target information meets the service distribution conditions based on the distribution decision information.
[0379] In this embodiment, when the first terminal device determines that a target event has occurred based on the second notification information, it determines the category of the target information based on distribution decision information, then obtains the target information based on the category of the target information, and determines whether the target information meets the service distribution conditions. The distribution decision information indicates the service distribution conditions.
[0380] S806. If the target information meets the service distribution conditions, the first terminal device sends a third notification message to the server.
[0381] The third notification information is used to notify the target information that the service distribution conditions have been met.
[0382] In this embodiment of the application, if the target information meets the service distribution conditions, a third notification message can be generated and sent to the server.
[0383] S807. Upon receiving the third notification information, the server generates the first notification information based on the service instruction information.
[0384] In this embodiment of the application, when the server determines that the target information meets the service distribution conditions based on the third notification information, it generates the first notification information based on the service indication information.
[0385] S808, The server sends the first notification information to the first terminal device.
[0386] S809, The first terminal device receives the first notification information.
[0387] S810, the first terminal device displays the target service through the target access portal.
[0388] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0389] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0390] Figure 14 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the edge side. As shown in Figure 14, the service distribution method includes steps S901 to S908, which will be explained in detail below.
[0391] S901, Server generates service distribution strategy.
[0392] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service instruction information.
[0393] S902, The server sends part of the information in the service distribution strategy to the first terminal device, wherein the part of the information in the service distribution strategy is service indication information.
[0394] S903, The first terminal device receives service instruction information.
[0395] S904. The server monitors whether a target event has occurred based on event triggering information.
[0396] S905. When a target event occurs, the server obtains the target information and determines whether the target information meets the service distribution conditions based on the distribution decision information.
[0397] S906. If the target information meets the service distribution conditions, the server sends a third notification message to the first terminal device. The third notification message is used to notify the target information that the service distribution conditions are met.
[0398] S907. Upon receiving the third notification information, the first terminal device generates the first notification information based on the service instruction information.
[0399] S908, the first terminal device displays the target service through the target access portal.
[0400] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0401] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0402] Figure 15 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the edge side. As shown in Figure 15, the service distribution method includes steps S1001 to S1009. The following is a detailed explanation of this service distribution method.
[0403] S1001, Server generates service distribution strategy.
[0404] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service instruction information.
[0405] S1002, The server sends part of the information in the service distribution strategy to the first terminal device, wherein the part of the information in the service distribution strategy is event triggering information and service indication information.
[0406] S1003, The first terminal device receives event trigger information and service indication information.
[0407] S1004. The first terminal device monitors whether the target event has occurred based on the event triggering information.
[0408] S1005. When the target event occurs, the first terminal device sends a second notification message to the server. The second notification message is used to notify that the target event has occurred.
[0409] S1006. Upon receiving the second notification information, the server obtains the target information and determines whether the target information meets the service distribution conditions based on the distribution decision information.
[0410] S1007. If the target information meets the service distribution conditions, the server sends a third notification message, which is used to notify the target information that the service distribution conditions are met.
[0411] S1008. Upon receiving the third notification information, the first terminal device generates the first notification information based on the service instruction information.
[0412] In an embodiment of this application, the first terminal device generates third notification information when it determines that the target information meets the service score conditions based on the first notification information.
[0413] S1009. The first terminal device displays the target service through the target access portal.
[0414] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0415] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0416] Figure 16 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the edge side. As shown in Figure 16, the service distribution method includes steps S1101 to S1108. The following is a detailed explanation of this service distribution method.
[0417] S1101, Server generates service distribution strategy.
[0418] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service instruction information.
[0419] S1102. The server sends part of the information in the service distribution strategy to the first terminal device, wherein the part of the information in the service distribution strategy is distribution decision information and service instruction information.
[0420] S1103, The first terminal device receives and distributes decision information and service instruction information.
[0421] S1104. The server monitors whether the target event has occurred based on the event triggering information.
[0422] S1105. When the target event occurs, the server sends a second notification message to the first terminal device. The second notification message is used to notify that the target event has occurred.
[0423] S1106. Upon receiving the second notification information, the first terminal device obtains the target information and determines whether the target information meets the service distribution conditions based on the distribution decision information.
[0424] S1107. When the target information meets the service distribution conditions, the first terminal device generates first notification information based on the service instruction information.
[0425] S1108. The first terminal device displays the target service through the target access portal.
[0426] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0427] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0428] In the embodiments corresponding to Figures 17 to 24 below, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition, and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Some information in the service distribution strategy contains the first sub-decision information or the second sub-decision information.
[0429] In one possible implementation, if the server sends the first sub-decision information to the first terminal device, it indicates that the source of the first sub-information is the first terminal device. Similarly, sending the second sub-decision information to the first terminal device indicates that the source of the second sub-information is the first terminal device. The following detailed explanations of several deployment scenarios for the service distribution strategy, in conjunction with multiple embodiments, illustrate these scenarios.
[0430] Figure 17 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the edge side. As shown in Figure 17, the service distribution method includes steps S1201 to S1210. The following is a detailed explanation of this service distribution method.
[0431] S1201, Server generates service distribution strategy.
[0432] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service indication information. The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition, and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition.
[0433] S1202, The server sends part of the service distribution strategy information to the first terminal device, wherein the part of the service distribution strategy information includes event triggering information, first sub-decision information and service indication information.
[0434] S1203, The first terminal device receives event trigger information, first sub-decision information, and service instruction information.
[0435] S1204. The first terminal device monitors whether the target event has occurred based on the event trigger information.
[0436] S1205. When the target event occurs, the first terminal device obtains the first sub-information and determines whether the first sub-information satisfies the first sub-condition based on the first sub-decision information.
[0437] In one possible implementation, the first sub-condition is a prerequisite for the second sub-condition, and the source of the first sub-information can be the first terminal device.
[0438] S1206. When the first sub-information satisfies the second sub-condition, the first terminal device sends a fourth notification message to the server. The fourth notification message is used to notify the first sub-information that the first condition is met.
[0439] S1207. Upon receiving the fourth notification information, the server obtains the second sub-information based on the second sub-decision information and determines whether the second sub-information satisfies the second sub-condition.
[0440] In one possible implementation, the source of the second sub-information could be a server.
[0441] S1208. If the second sub-information satisfies the second sub-condition, the server sends a third notification message. The third notification message is used to indicate that the target information satisfies the service distribution condition.
[0442] In this embodiment of the application, the server determines that the target information meets the service distribution conditions if it determines that the second sub-information meets the second sub-condition.
[0443] S1209. Upon receiving the third notification information, the first terminal device generates the first notification information based on the service instruction information.
[0444] S1210, The first terminal device displays the target service through the service access portal.
[0445] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0446] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0447] Figure 18 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the endpoint side. As shown in Figure 18, the service distribution method includes steps S1301 to S1311. The following is a detailed explanation of this service distribution method.
[0448] S1301, Server generates service distribution strategy.
[0449] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information and service indication information. The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition.
[0450] S1302, The server sends part of the service distribution strategy information to the first terminal device, wherein the part of the service distribution strategy information is event triggering information and first sub-decision information.
[0451] In one possible implementation, the first sub-condition is a prerequisite for the second sub-condition, and the source of the first sub-information can be the first terminal device.
[0452] S1303, The first terminal device monitors whether the target event has occurred based on the event trigger information.
[0453] S1304. When the target event occurs, the first terminal device obtains first sub-information and determines whether the first sub-information satisfies the first sub-condition based on the first sub-decision information.
[0454] S1305. When the first sub-information satisfies the first sub-condition, the first terminal device sends a fourth notification message to the server. The fourth notification message is used to notify the first sub-information that the first condition is met.
[0455] S1306. Upon receiving the fourth notification information, the server obtains the second sub-information based on the second sub-decision information and determines whether the second sub-information satisfies the second sub-condition.
[0456] In one possible implementation, the source of the second sub-information could be a server.
[0457] S1307. If the second sub-information satisfies the second sub-condition, the server determines that the target information satisfies the service distribution condition. The target information includes the first sub-information and the second sub-information.
[0458] S1308. The server generates the first notification information based on the service instruction information.
[0459] S1309. The server sends the first notification information to the first terminal device.
[0460] S1310, The first terminal device receives the first notification information.
[0461] S1311. The first terminal device displays the target service through the service access portal.
[0462] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0463] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0464] Figure 19 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the edge side. As shown in Figure 19, the service distribution method includes steps S1401 to S1411. The following is a detailed explanation of this service distribution method.
[0465] S1401, Server generates service distribution strategy.
[0466] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information and service indication information. The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition.
[0467] S1402. The server sends a portion of the information in the service distribution strategy, wherein the portion of the information in the service distribution strategy is the first sub-decision information and the service instruction information.
[0468] S1403, The first terminal device receives the first sub-decision information and service instruction information.
[0469] S1404. The server monitors whether the target event has occurred based on the event triggering information.
[0470] S1405. When the target event occurs, the server sends a second notification message to the first terminal device. The second notification message is used to notify that the target event has occurred.
[0471] S1406. Upon receiving the second notification information, the first terminal device obtains the first sub-information and determines whether the first sub-information satisfies the first sub-condition based on the first sub-decision information.
[0472] In one possible implementation, the source of the first sub-information is the first terminal device.
[0473] S1407. When the first sub-information satisfies the first sub-condition, the first terminal device sends a fourth notification message, which is used to notify the first sub-information that the first condition is met.
[0474] S1408. Upon receiving the fourth notification information, the server obtains the second sub-information based on the second sub-decision information and determines whether the second sub-information satisfies the second sub-condition.
[0475] In one possible implementation, the source of the second sub-information is the server.
[0476] S1409. If the second sub-information satisfies the second sub-condition, the server sends a third notification message. The third notification message is used to indicate that the target information satisfies the service distribution condition.
[0477] S1410. Upon receiving the third notification information, the first terminal device generates the first notification information based on the service instruction information.
[0478] S1411. The first terminal device displays the target service through the service access portal.
[0479] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0480] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0481] Figure 20 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the edge side. As shown in Figure 20, the service distribution method includes steps S1501 to S1513. The following is a detailed explanation of this service distribution method.
[0482] S1501, Server generates service distribution strategy.
[0483] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information and service indication information. The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition.
[0484] S1502, The server sends part of the service distribution strategy information to the first terminal device, wherein the part of the service distribution strategy information is the first sub-decision information.
[0485] S1503, The first terminal device receives the first sub-decision information.
[0486] S1504. The server monitors whether the target event has occurred based on the event trigger information.
[0487] S1505. When the target event occurs, the server sends a second notification message to the first terminal device. The second notification message is used to notify that the target event has occurred.
[0488] S1506. Upon receiving the second notification information, the first terminal device obtains the first sub-information and determines whether the first sub-information satisfies the first sub-condition based on the first sub-decision information.
[0489] S1507. The first terminal is configured to send a fourth notification message when the first sub-information satisfies the first sub-condition. The fourth notification message is used to notify the first sub-information that the first condition is met.
[0490] S1508. Upon receiving the fourth notification information, the server obtains the second sub-information based on the second sub-decision information and determines whether the second sub-information satisfies the second sub-condition.
[0491] S1509. If the second sub-information satisfies the second sub-condition, the server determines that the target information satisfies the service distribution condition. The target information includes the first sub-information and the second sub-information.
[0492] S1510, The server generates the first notification information based on the service instruction information.
[0493] S1511, The server sends the first notification information to the first terminal device.
[0494] S1512, The first terminal device receives the first notification information.
[0495] S1513. Display the target service through the service access portal.
[0496] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0497] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0498] Figure 21 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the edge side. As shown in Figure 21, the service distribution method includes steps S1601 to S1611, which will be explained in detail below.
[0499] S1601, Server generates service distribution strategy.
[0500] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information and service indication information. The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition.
[0501] S1602. The server sends part of the information in the service distribution strategy, wherein the part of the information in the service distribution strategy is event triggering information, second sub-decision information and service indication information.
[0502] S1603, The first terminal device receives event trigger information, second sub-decision information, and service instruction information.
[0503] S1604. The first terminal device monitors whether the target event has occurred based on the event triggering information.
[0504] S1605. When the target event occurs, the first terminal device sends a second notification message, which is used to notify that the target event has occurred.
[0505] S1606. Upon receiving the second notification information, the server obtains the first sub-information and determines whether the first sub-information satisfies the first sub-condition based on the first sub-decision information.
[0506] S1607. If the first sub-information satisfies the first sub-condition, the server sends a fourth notification message. The fourth notification message is used to notify the first sub-information that the first condition is met.
[0507] S1608. Upon receiving the fourth notification information, the first terminal device obtains the second information and determines whether the second information satisfies the second sub-condition based on the second sub-decision information.
[0508] S1609. If the second sub-information satisfies the second sub-condition, the first terminal device determines that the target information satisfies the service distribution condition. The target information includes the first sub-information and the second sub-information.
[0509] S1610, The first terminal device generates the first notification information based on the service instruction information.
[0510] S1611. The first terminal device displays the target service through the service access portal.
[0511] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0512] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0513] Figure 22 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the endpoint side. As shown in Figure 22, the service distribution method includes steps S1701 to S1713, which will be explained in detail below.
[0514] S1701, Server generates service distribution strategy.
[0515] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information and service indication information. The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition.
[0516] S1702. The server sends part of the information in the service distribution strategy, wherein the part of the information in the service distribution strategy is event triggering information and second sub-decision information.
[0517] S1703, The first terminal device receives the event trigger information and the second sub-decision information.
[0518] S1704. The first terminal device monitors whether the target event has occurred based on the event triggering information.
[0519] S1705. When the target event occurs, the first terminal device sends a second notification message, which is used to notify that the target event has occurred.
[0520] S1706. Upon receiving the second notification information, the server obtains the first sub-information and determines whether the first sub-information satisfies the first sub-condition based on the first sub-decision information.
[0521] S1707. If the first sub-information satisfies the first sub-condition, the server sends a fourth notification message. The fourth notification message is used to notify the first sub-information that the first condition is met.
[0522] S1708. Upon receiving the fourth notification information, the first terminal device obtains the second information and determines whether the second information satisfies the second sub-condition based on the second sub-decision information.
[0523] S1709. If the second sub-information satisfies the second sub-condition, the first terminal device determines that the target information satisfies the service distribution condition. The target information includes the first sub-information and the second sub-information.
[0524] S1710, the first terminal device sends a third notification message, which is used to notify the target information that the service distribution conditions are met.
[0525] S1711. Upon receiving the third notification information, generate the first notification information based on the service instruction information.
[0526] S1712, The first electronic device receives the first notification information.
[0527] S1713. Display the target service through the service access portal.
[0528] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0529] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of a first electronic device and / or the environment in which the first electronic device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating a first notification message. The generated first notification message is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0530] Figure 23 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the endpoint side. As shown in Figure 23, the service distribution method includes steps S1801 to S1810. The following is a detailed explanation of this service distribution method.
[0531] S1801, Server generates service distribution strategy.
[0532] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information and service indication information. The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition.
[0533] S1802. The server sends part of the information in the service distribution strategy, wherein the part of the information in the service distribution strategy is the second sub-decision information and the service instruction information.
[0534] S1803, The first terminal device receives the second sub-decision information and service instruction information.
[0535] S1804. The server monitors whether the target event has occurred based on event triggering information.
[0536] S1805. When the target event occurs, the server obtains the first sub-information and determines that the first sub-information satisfies the first sub-condition based on the first sub-decision information.
[0537] S1806. If the first sub-information satisfies the first sub-condition, the server sends a fourth notification message. The fourth notification message is used to notify the first sub-information that the first condition is met.
[0538] S1807. Upon receiving the fourth notification information, the first terminal device obtains the second sub-information and determines whether the second sub-information satisfies the second sub-condition based on the second sub-decision information.
[0539] S1808. If the second sub-information satisfies the second sub-condition, the first terminal device determines that the target information satisfies the service distribution condition.
[0540] S1809, The first terminal device generates the first notification information based on the service instruction information.
[0541] S1810, The first terminal device displays the target service through the service access portal.
[0542] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0543] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0544] Figure 24 is a flowchart illustrating a service distribution method provided in an embodiment of this application. This method is applied to a service distribution system. The following example demonstrates the service distribution method provided in this embodiment by deploying part of the service distribution strategy on the cloud side and the other part on the edge side. As shown in Figure 24, the service distribution method includes steps S1901 to S1913. The following is a detailed explanation of this service distribution method.
[0545] S1901, Server generates service distribution strategy.
[0546] The service distribution strategy indicates that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located. The service distribution strategy includes event triggering information, distribution decision information, and service indication information. The distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates the first sub-condition, and the second sub-decision information indicates the second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition.
[0547] S1902, The server sends part of the information in the service distribution strategy, wherein the part of the information in the service distribution strategy is the second sub-decision information.
[0548] S1903, The first terminal device receives the second sub-decision information.
[0549] S1904. The server monitors whether the target event has occurred based on the event trigger information.
[0550] S1905. When the target event occurs, the server obtains the first sub-information and determines that the first sub-information satisfies the first sub-condition based on the first sub-decision information.
[0551] S1906. If the first sub-information satisfies the first sub-condition, the server sends a fourth notification message. The fourth notification message is used to notify the first sub-information that the first condition is met.
[0552] S1907. Upon receiving the fourth notification information, the first terminal device obtains the second sub-information and determines whether the second sub-information satisfies the second sub-condition based on the second sub-decision information.
[0553] S1908. If the second sub-information satisfies the second sub-condition, the first terminal device determines that the target information satisfies the service distribution condition. The target information includes the first sub-information and the second sub-information.
[0554] S1909, the first terminal device sends a third notification message, which is used to notify the target information that the service distribution conditions are met.
[0555] S1910. Upon receiving the third notification information, the server generates the first notification information based on the service instruction information.
[0556] S1911, The server sends the first notification information to the first terminal device.
[0557] S1912, The first terminal device receives the first notification information.
[0558] S1913. Display the target service through the service access portal.
[0559] It should be noted that the descriptions of the same steps and contents in the embodiments of this application as in other embodiments can be referred to the descriptions in other embodiments, and will not be repeated here.
[0560] This application provides a service distribution method that, by considering whether a target event has occurred and whether the state of the first terminal device and / or the environment in which the first terminal device is located meet the service distribution conditions, ensures the accuracy and efficiency of generating the first notification information. The generated first notification information is then sent to the target access point, through which the target service is displayed, improving the accuracy and efficiency of service distribution and further enhancing the user experience. This solves the problem in related technologies where inaccurate service distribution schemes cause unnecessary disturbance to users and negatively impact their experience.
[0561] Based on the foregoing embodiments, this application provides a service distribution system. The service distribution method provided in the foregoing embodiments can be applied to the service distribution system. As shown in FIG25, the service distribution system 20 includes a first terminal device 2001 (e.g., a user's mobile phone), a server 2002, and a second terminal device 2003 (e.g., a developer's mobile phone). The second terminal device 2003 runs a developer platform and configuration tools, and the server 2002 runs a device management cloud platform, referred to as device cloud.
[0562] The store manager can first register and become a Huawei developer. After successfully obtaining a developer account, they can log in to the developer platform on the second terminal device 2003. The developer (i.e., the store manager) applies for a device token on the developer platform and initiates the device registration process. This process refers to the registration of devices deployed in the distribution area (such as initial sensing devices) to the device cloud. After successful device registration, the developer can view the list of devices under their name through the second terminal device 2003, including the device's connection status, remaining battery power, and whether there are any faults or alarms. After device registration is complete, the developer can enter the initial service distribution configuration information on the developer platform. This initial service distribution configuration information includes the initial information of the service access point, the device information of the initial sensing device corresponding to the service access point, the initial information of the target service, and the initial distribution requirement information.
[0563] Developers have already submitted and uploaded multiple meta-services to the developer alliance and can check their uploaded meta-services at any time. Among these meta-services is the target service.
[0564] In this embodiment, the developer can input initial service distribution configuration information on the user interface of the developer platform of the second terminal device 2003. The second terminal device 2003 will respond to these input operations in real time, obtain the initial service distribution configuration information, and send it to the scenario-based distribution cloud on the server 2002. After receiving the initial service distribution configuration information, the scenario-based distribution cloud will verify the initial service distribution configuration information to obtain the service distribution configuration information, and generate a service distribution strategy based on the service distribution configuration information. Figure 25 takes the deployment of the service distribution strategy on the first terminal device 2001 as an example. The scenario-based distribution cloud on the server 2002 can send the service distribution strategy to the service distribution engine on the first terminal device 2001. After receiving the service distribution strategy, the service distribution engine, based on the service distribution strategy, and if it detects the occurrence of a target event and the target information meets the service distribution conditions, displays the corresponding target service to the user through the target access entry. Upon receiving the service distribution policy, the service distribution engine establishes subscription relationships with other services based on the event triggering information within the policy. For example, it subscribes to Bluetooth Beacon and the phone's LocationKit capabilities, allowing it to subscribe to Beacon broadcast messages for specific UUIDs. If LocationKit detects a broadcast message for that UUID, it notifies the service distribution engine.
[0565] Once the server 2002 obtains the operational configuration information of the sensing device, it can send the operational configuration information to the sensing device according to the communication link between the device cloud and the sensing device (i.e., the device ultimately deployed in the distribution area). This enables the sensing device to operate according to the operational configuration information, improving the accuracy of broadcast signal coverage and further enhancing the accuracy of sensing.
[0566] The configuration tool is used to connect sensing devices to the network and set their network connection parameters. When there are problems with the device deployment in the distribution area (i.e., there are problems with the number and / or location of the initial sensing devices deployed), the server 2002 can send the device deployment information to the configuration tool on the second terminal device 2003. Developers can then adjust the device layout in the distribution area based on the device deployment information.
[0567] For example, this service distribution method can be applied to the catering industry, where two service distribution strategies corresponding to restaurant C are deployed on the user's mobile phone. As shown in Figure 26, when the user is in the ordering area, their mobile phone can display the ordering service; when the user is in the dining area, their mobile phone can display the store's promotional services. In other words, as long as the user enters the corresponding area within the store, the mobile phone detects the in-store equipment and, based on the corresponding service distribution strategy, pushes the services for that area to the user through the target access point (such as the phone's lock screen or Xiaoyi's suggestions). The services can be pushed in the form of cards or icons. The user only needs to click the service icon or card to directly open the service. In this way, users do not need to use their mobile phones to search or scan codes within the store; they can simply take out their mobile phones to see the services they need.
[0568] In one possible implementation, the sensing device could be a Bluetooth Beacon device, a Wi-Fi router, a UWB transmitter, NFC, or similar device. These devices could periodically broadcast signals or interact with information upon touch, allowing the user's phone to detect their presence. Simultaneously, developers could equip their store staff with portable devices, such as mobile phones or smart boxes. The staff's phones could also be detected by the user's phone.
[0569] For example, in Figure 26, q1, q2, q3, q4, and q5 are all sensing devices. Among them, q1 and q2 represent different Bluetooth Beacon devices; q3 and q5 represent different store employees' mobile phones; and q4 is a Wi-Fi router.
[0570] Figure 27 is a schematic diagram of the service distribution device provided in an embodiment of this application. As shown in Figure 27, the service distribution device 21 may include a communication unit 2101 and a processing unit 2102. The communication unit 2101 can implement corresponding communication functions, which can be internal communication of the service distribution device 21 or communication between the service distribution device 21 and other devices; the processing unit 2102 can implement corresponding processing functions. The communication unit 2101 may also be referred to as a communication interface or a transceiver unit. Optionally, the service distribution device 21 may also include a storage unit, which can be used to store instructions and / or data. The processing unit 2102 can read the instructions and / or data in the storage unit to enable the device to implement the aforementioned method embodiment.
[0571] In one possible design, the service distribution device 21 can be the first terminal device in the aforementioned method embodiments, or it can be a module or chip applied to the first terminal device. The service distribution device 21 can be used for the steps or processes executed by the first terminal device in the above method embodiments.
[0572] Specifically, the communication unit 2101 or the processing unit 2102 is used to obtain first notification information, which is used to notify the target access entry on the first terminal device to display the target service. The first notification information is generated when the target event occurs and the target information meets the service distribution conditions. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located. The processing unit 2102 is used to display the target service through the target access entry.
[0573] Optionally, the processing unit 2102 is used to generate the first notification information.
[0574] Optionally, the communication unit 2101 is used to receive first notification information from the server.
[0575] Optionally, the processing unit 2102 is specifically used to determine whether the target information meets the service distribution conditions when the target event is detected or a second notification information is received from the server, wherein the second notification information is used to notify that the target event has occurred; and to generate a first notification information when the target information meets the service distribution conditions.
[0576] Optionally, the communication unit 2101 is further configured to send a second notification message to the server when a target event is detected, the second notification message being used to notify that the target event has occurred; the processing unit 2102 is configured to generate a first notification message when a third notification message is received from the server, the third notification message being used to notify that the target information meets the service distribution conditions, the third notification message being generated based on the second notification message.
[0577] Optionally, the processing unit 2102 is specifically used to generate first notification information when receiving third notification information from the server. The third notification information is used to notify the target information that the service distribution conditions are met. The third notification information is generated by the server when it detects that the target event has occurred and the target information meets the service distribution conditions.
[0578] Optionally, the processing unit 2102 is further configured to determine whether the target information meets the service distribution conditions when the target event is detected or a second notification message is received from the server, wherein the second notification message is used to notify that the target event has occurred; the communication unit 2101 is further configured to send a third notification message when the target information meets the service distribution conditions, wherein the third notification message is used to notify that the target information meets the service distribution conditions; and receive a first notification message from the server, wherein the first notification message is sent based on the third notification message.
[0579] Optionally, the communication unit 2101, upon detecting the occurrence of a target event, sends a second notification message to the server, the second notification message being used to notify that the target event has occurred; and receives a first notification message from the server, the first notification message being generated by the server when the target event occurs and the target information meets the service distribution conditions.
[0580] Optionally, the first notification information is sent by the server when it detects that the target event has occurred and determines that the target information meets the service distribution conditions.
[0581] Optionally, the service distribution conditions include a first sub-condition and a second sub-condition. The processing unit 2102 is further configured to determine whether the first sub-information meets the first sub-condition when a target event is detected or a second notification message is received from the server. The communication unit 2101 is further configured to send a fourth notification message to the server when the first sub-information meets the first sub-condition. The fourth notification message is used to notify the first sub-information that it meets the first sub-condition. The processing unit 2102 generates a first notification message when a third notification message is received from the server. The third notification message is used to notify the target information that it meets the service distribution conditions. The target information includes the first sub-information and the second sub-information. The third notification message is generated based on the fourth notification message.
[0582] Optionally, the service distribution conditions include a first sub-condition and a second sub-condition. The processing unit 2102 is further configured to determine whether the first sub-information meets the first sub-condition when the target event is detected or a second notification message is received from the server. The communication unit 2101 is further configured to send a fourth notification message to the server when the first sub-information meets the first sub-condition. The fourth notification message is used to notify the first sub-information that the first sub-condition is met. The communication unit 2101 is further configured to receive a first notification message from the server, which is generated by the server based on the fourth notification message. The target information includes the first sub-information and the second sub-information.
[0583] Optionally, the service distribution conditions include a first sub-condition and a second sub-condition. The communication unit 2101 is further configured to send a second notification message to the server when a target event is detected, the second notification message being used to notify that the target event has occurred. The processing unit 2102 is further configured to determine whether the second sub-information satisfies the second sub-condition when a fourth notification message is received from the server, the fourth notification message being used to notify the first sub-information that the first sub-condition is satisfied, the fourth notification message being generated based on the second notification message; if the second sub-information satisfies the second sub-condition, determine that the target information satisfies the service distribution conditions, the target information including the first sub-information and the second sub-information; and generate a first notification message.
[0584] Optionally, the service distribution conditions include a first sub-condition and a second sub-condition. The processing unit 2102 is further configured to, upon receiving a fourth notification information from the server, determine whether the second sub-information meets the second sub-condition, wherein the fourth notification information is used to notify the first sub-information that it meets the first sub-condition; if the second sub-information meets the second sub-condition, determine that the target information meets the service distribution conditions, wherein the target information includes the first sub-information and the second sub-information; and generate the first notification information.
[0585] Optionally, the service distribution conditions include a first sub-condition and a second sub-condition. The communication unit 2101 is further configured to send a second notification message to the server when a target event is detected, the second notification message being used to notify that the target event has occurred. The processing unit 2102 is further configured to determine whether the second sub-information satisfies the second sub-condition when a fourth notification message is received from the server, the fourth notification message being used to notify the first sub-information that the first sub-condition is satisfied, and the fourth notification message being generated based on the second notification message; if the second sub-information satisfies the second sub-condition, determine that the target information satisfies the service distribution conditions, the target information including the first sub-information and the second sub-information; the communication unit 2101 is further configured to send a third notification message to the server, the third notification message being used to notify the target information that the service distribution conditions are satisfied; and receive a first notification message from the server, the first notification message being generated by the server based on the third notification message.
[0586] Optionally, the service distribution conditions include a first sub-condition and a second sub-condition. The processing unit 2102 is further configured to, upon receiving a fourth notification message from the server, determine whether the second sub-information satisfies the second sub-condition, the fourth notification message being used to notify the first sub-information that it satisfies the first sub-condition; and, if the second sub-information satisfies the second sub-condition, determine that the target information satisfies the service distribution conditions, the target information including the first sub-information and the second sub-information; the communication unit 2101 is further configured to send a third notification message to the server, the third notification message being used to notify the target information that it satisfies the service distribution conditions; and receive a first notification message from the server, the first notification message being generated by the server based on the third notification message.
[0587] Optionally, the communication unit 2101 is further configured to receive event triggering information from the server, the event triggering information indicating a target event; the processing unit 2102 is further configured to monitor whether the target event has occurred based on the event triggering information.
[0588] Optionally, the communication unit 2101 is further configured to receive service indication information from the server, the service indication information indicating that the target service is displayed through the target access entry; the processing unit 2102 is further configured to generate first notification information based on the service indication information.
[0589] Optionally, the communication unit 2101 is also used to receive distribution decision information from the server, the distribution decision information indicating service distribution conditions.
[0590] Optionally, the communication unit 2101 is also configured to receive first sub-decision information from the server, the first sub-decision information indicating a first sub-condition.
[0591] Optionally, the communication unit 2101 is also configured to receive second sub-decision information from the server, the second sub-decision information indicating a second sub-condition.
[0592] Optionally, the communication unit 2101 carries at least one of the following in the first notification information: the identifier of the target service, the jump link of the target service, and the page link of the target service.
[0593] In one possible design, the service distribution device 21 can be the server in the aforementioned method embodiments, or it can be a module or chip applied to the server. The service distribution device 21 can be used for the steps or processes performed by the server in the above method embodiments.
[0594] Specifically, processing unit 2102 is used to generate a service distribution strategy, which instructs that when a target event occurs and the target information meets the service distribution conditions, the target service will be displayed through the target access portal, and the target information represents the status of the first terminal device and / or the environment in which the first terminal device is located; when the target event is detected to have occurred and the target information meets the service distribution conditions based on the service distribution strategy, communication unit 2101 is used to send a first notification message to the first terminal device, which is used to notify the target access portal on the first terminal device to display the target service; or, communication unit 2101 is used to send the service distribution strategy or part of the information in the service distribution strategy to the first terminal device.
[0595] Optionally, the service distribution strategy includes event triggering information, distribution decision information, and service indication information. The event triggering information indicates the target event, the distribution decision information indicates the service distribution conditions, and the service indication information indicates that the target service is displayed through the target access point.
[0596] Optionally, some information in the service distribution strategy is event triggering information. The processing unit 2102 is further configured to determine whether the target information meets the service distribution conditions when receiving the second notification information from the first terminal device. The second notification information is used to notify the target event that it has occurred. The communication unit 2101 is further configured to send the first notification information to the first terminal device based on the service indication information when the target information meets the service distribution conditions.
[0597] Optionally, some information in the service distribution strategy is distribution decision information. The processing unit 2102 is also used to monitor whether a target event has occurred based on the event triggering information. The communication unit 2101 is also used to send a second notification message to the first terminal device when the target event occurs. The second notification message is used to notify that the target event has occurred. When a third notification message is received from the first terminal device, a first notification message is sent to the first terminal device based on the service indication information. The third notification message is used to notify that the target information meets the service distribution conditions. The third notification message is generated based on the second notification message.
[0598] Optionally, some information in the service distribution strategy includes event triggering information and distribution decision information. The communication unit 2101 is also used to send a first notification information based on the service indication information when it receives a third notification information from the first terminal device. The third notification information is used to notify the target information that it meets the service distribution conditions. The third notification information is generated by the first terminal device when it detects that the target event has occurred and the target information meets the service distribution conditions.
[0599] Optionally, some information in the service distribution strategy is service indication information. The processing unit 2102 is also used to monitor whether a target event has occurred based on the event triggering information; if the target event has occurred, determine whether the target information meets the service distribution conditions; the communication unit 2101 is also used to send a third notification information if the target information meets the service distribution conditions. The third notification information is used to notify the target information that it meets the service distribution conditions, and the first notification information is generated based on the third notification information.
[0600] Optionally, some information in the service distribution strategy is event triggering information and service indication information. The processing unit 2102 is further configured to determine whether the target information meets the service distribution conditions when receiving the second notification information from the first terminal device. The second notification information is used to notify the target event that it has occurred. The communication unit 2101 is further configured to send a third notification information when the target information meets the service distribution conditions. The third notification information is used to notify the target information that it meets the service distribution conditions. The first notification information is generated based on the third notification information.
[0601] Optionally, some information in the service distribution strategy is distribution decision information and service instruction information. The processing unit 2102 is also used to monitor whether the target event has occurred based on the event triggering information. The communication unit 2101 is also used to send a second notification information to the first terminal device when the target event occurs. The second notification information is used to notify that the target event has occurred. The first notification information is generated by the first terminal device when the target event occurs and the target information meets the service distribution conditions.
[0602] Optionally, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Some information in the service distribution strategy includes event triggering information, first sub-decision information, and service indication information. The processing unit 2102 is further configured to, upon receiving a fourth notification information from the first terminal device, obtain second sub-information based on the second sub-decision information and determine whether the second sub-information meets the second sub-condition. The fourth notification information is used to notify the first sub-information that it meets the first sub-condition. If the second sub-information meets the second sub-condition, it is determined that the target information meets the service distribution conditions. The target information includes the first sub-information and the second sub-information. The communication unit 2101 is further configured to send a third notification information to the first terminal device. The third notification information is used to notify the target information that it meets the service distribution conditions.
[0603] Optionally, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Some information in the service distribution strategy includes event triggering information and the first sub-decision information. The processing unit 2102 is further configured to, upon receiving a fourth notification information from the first terminal device, obtain second sub-information based on the second sub-decision information and determine whether the second sub-information meets the second sub-condition. The fourth notification information is used to notify the first sub-information that it meets the first sub-condition. If the second sub-information meets the second sub-condition, determine that the target information meets the service distribution conditions. The target information includes the first sub-information and the second sub-information. Generate first notification information based on the service indication information. The communication unit 2101 is further configured to send the first notification information to the first terminal device.
[0604] Optionally, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy is the first sub-decision information and service indication information. The processing unit 2102 is further configured to monitor whether a target event has occurred based on the event triggering information. The communication unit 2101 is further configured to send a second notification information to the first terminal device when the target event occurs. The second notification information is used to notify that the target event has occurred. The processing unit 2102 is further configured to, upon receiving a fourth notification information from the first terminal device, obtain second sub-information based on the second sub-decision information and determine whether the second sub-information meets the second sub-condition. The fourth notification information is used to notify the first sub-information that it meets the first sub-condition. If the second sub-information meets the second sub-condition, it is determined that the target information meets the service distribution conditions. The target information includes the first sub-information and the second sub-information. The communication unit 2101 is further configured to send a third notification information to the first terminal device. The third notification information is used to notify the target information that it meets the service distribution conditions.
[0605] Optionally, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy is the first sub-decision information. The processing unit 2102 is further configured to monitor whether a target event has occurred based on event triggering information. The communication unit 2101 is further configured to send a second notification information to the first terminal device when the target event occurs. The processing unit 2102 is further configured to, upon receiving a fourth notification information from the first terminal device, obtain second sub-information based on the second sub-decision information and determine whether the second sub-information meets the second sub-condition. The fourth notification information is used to notify the first sub-information that it meets the first sub-condition. If the second sub-information meets the second sub-condition, determine that the target information meets the service distribution conditions. The target information includes the first sub-information and the second sub-information. Generate a first notification information based on service indication information. The communication unit 2101 is further configured to send the first notification information to the first terminal device.
[0606] Optionally, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Some information in the service distribution strategy includes event triggering information, second sub-decision information, and service indication information. The processing unit 2102 is further configured to, upon receiving a second notification information from the first terminal device, obtain first sub-information based on the first sub-decision information and determine whether the first sub-information meets the first sub-condition. The second notification information is used to notify that a target event has occurred. The communication unit 2101 is further configured to, upon receiving a second notification information from the first terminal device, send a fourth notification information to the first terminal device. The fourth notification information is used to notify that the first sub-information meets the first sub-condition.
[0607] Optionally, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Some information in the service distribution strategy includes event triggering information and second sub-decision information. The processing unit 2102 is further configured to, upon receiving second notification information from the first terminal device, obtain first sub-information based on the first sub-decision information and determine whether the first sub-information meets the first sub-condition. The second notification information is used to notify that the target event has occurred. The communication unit 2101 is further configured to, upon receiving first sub-information meeting the first sub-condition, send fourth notification information to the first terminal device. The fourth notification information is used to notify that the first sub-information meets the first sub-condition. The processing unit 2102 is further configured to, upon receiving third notification information, generate first notification information based on service indication information. The third notification information is generated by the first terminal device upon determining that the second sub-information meets the second sub-condition based on the fourth notification information. The communication unit 2101 is further configured to send first notification information to the first terminal device.
[0608] Optionally, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy is the second sub-decision information and service indication information. The processing unit 2102 is further configured to monitor whether a target event has occurred based on the event triggering information. If the target event has occurred, the processing unit 2102 is configured to obtain the first sub-information based on the first sub-decision information and determine whether the first sub-information meets the first sub-condition. The communication unit 2101 is further configured to send a fourth notification information to the first terminal device when the first sub-information meets the first sub-condition. The fourth notification information is used to notify the first sub-information that the first sub-condition is met.
[0609] Optionally, the distribution decision information includes first sub-decision information and second sub-decision information. The first sub-decision information indicates a first sub-condition, and the second sub-decision information indicates a second sub-condition. The service distribution conditions include the first sub-condition and the second sub-condition. Part of the information in the service distribution strategy is the second sub-decision information. The processing unit 2102 is further configured to monitor whether a target event has occurred based on the event triggering information. If the target event has occurred, the processing unit 2102 obtains the first sub-information based on the first sub-decision information and determines whether the first sub-information meets the first sub-condition. The communication unit 2101 is further configured to send a fourth notification information to the first terminal device when the first sub-information meets the first sub-condition. The fourth notification information is used to notify the first sub-information that the first sub-condition is met. The processing unit 2102 generates the first notification information based on the service indication information when it receives the third notification information from the first terminal device. The communication unit 2101 is further configured to send the first notification information to the first terminal device.
[0610] Optionally, the communication unit 2101 or the processing unit 2102 is further configured to acquire service distribution configuration information and target policy template, wherein the target policy template represents the characteristics of the industry corresponding to the target service; the processing unit 2102 is further configured to generate a service distribution policy based on the service distribution configuration information and the target policy template.
[0611] Optionally, the service distribution configuration information includes at least one of the following: service access point information, device information corresponding to the service access point, target service information, and distribution requirement information.
[0612] Optionally, the device information includes device attribute information and operating configuration information. The communication unit is also used to obtain the initial operating configuration information. The processing unit 2102 is also used to determine the operating configuration information based on the spatial environment information of the service access point and the distribution requirement information if the initial operating configuration information is determined to be inaccurate based on the distribution requirement information.
[0613] Optionally, the processing unit 2102 is further configured to generate first operational configuration information based on spatial environment information and distribution demand information; if the first operational configuration information is determined to be accurate based on the distribution demand information, the first operational configuration information is used as the operational configuration information; the communication unit 2101 is further configured to send equipment deployment information to the second terminal device if the first operational configuration information is determined to be inaccurate based on the distribution demand information, the equipment deployment information being used to adjust the equipment layout in the distribution area; the processing unit 2102 is further configured to generate operational configuration information based on spatial environment information and distribution demand information upon receiving deployment confirmation information from the second terminal device; the operational configuration information is the adjusted equipment configuration information corresponding to the distribution area.
[0614] For details on the steps or processes performed by each unit in the service distribution device 21, please refer to the descriptions in the corresponding methods; they will not be elaborated here.
[0615] It should be understood that the "unit" in the service distribution device 21 can be implemented in hardware, software, or by hardware executing corresponding software. For example, a "unit" can refer to an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, combined logic circuitry, and / or other suitable components supporting the described functions. As another example, the communication unit 2101 can be replaced by a transceiver circuit (e.g., it may include receiving and transmitting circuitry), and the processing unit 2102 can be replaced by a processor or processing circuitry.
[0616] Figure 28 is a schematic diagram of the service distribution device provided in an embodiment of this application. The service distribution device 22 can be a first terminal device, a second terminal device, or a server, or it can be a chip, chip system, or processor that supports the first terminal device, second terminal device, or server in implementing the above methods. The service distribution device 22 can be used to implement the methods described in the above method embodiments; for details, please refer to the descriptions in the above method embodiments.
[0617] In one implementation, the service distribution device 22 is a first terminal device, used to obtain first notification information. The first notification information is used to notify the target access entry on the first terminal device to display the target service. The first notification information is generated when the target event occurs and the target information meets the service distribution conditions. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located. The target service is displayed through the target access entry.
[0618] In another implementation, the service distribution device 22 is a server used to generate a service distribution policy. The service distribution policy instructs that when a target event occurs and the target information meets the service distribution conditions, the target service should be displayed through the target access entry. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located. Based on the service distribution policy, when the occurrence of a target event is detected and the target information meets the service distribution conditions, a first notification message is sent to the first terminal device. The first notification message is used to notify the target access entry on the first terminal device to display the target service. Alternatively, the service distribution policy or part of the information in the service distribution policy is sent to the first terminal device.
[0619] As shown in Figure 28, the service distribution device 22 includes one or more processors 2201, which can support the service distribution device 22 in implementing the service distribution method in the method embodiment. The processor 2201 can be a general-purpose processor or a special-purpose processor. For example, the processor 2201 can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0620] The processor 2201 can be used to control the service distribution device 22, execute software programs, and process data from the software programs. The service distribution device 22 may also include a communication unit 2205 for inputting (receiving) and outputting (transmitting) signals.
[0621] For example, the service distribution device 22 may be a chip, the communication unit 2205 may be the input and / or output circuit of the chip, or the communication unit 2205 may be the communication interface of the chip, and the chip may be a component of a terminal device or other electronic device.
[0622] For example, the service distribution device 22 may be a first terminal device, the communication unit 2205 may be the transceiver of the first terminal device, or the communication unit 2205 may be the transceiver circuit of the terminal device.
[0623] The service distribution device 22 may include one or more memories 2202, which store a program 2204. The program 2204 can be executed by the processor 2201 to generate instructions 2203, causing the processor 2201 to execute the service distribution method executed by the first terminal device and the service distribution method executed by the server as described in the above method embodiments according to the instructions 2203.
[0624] Optionally, the memory 2202 may also store data.
[0625] Optionally, the processor 2201 can also read data stored in the memory 2202, which may be stored at the same memory address as the program 2204, or the data may be stored at a different memory address than the program 2204.
[0626] The processor 2201 and memory 2202 can be configured separately or integrated together, for example, integrated on the system on chip (SOC) of the terminal device.
[0627] This application also provides a computer program product that, when executed by processor 2201, implements the service distribution method of any method embodiment in this application.
[0628] The computer program product can be stored in memory 2202, for example, program 2204. Program 2204 is finally converted into an executable object file that can be executed by processor 2201 after processing such as preprocessing, compilation, assembly and linking.
[0629] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the service distribution method of any method embodiment in this application. The computer program may be a high-level language program or an executable object program.
[0630] The computer-readable storage medium is, for example, memory 2202. Memory 2202 can be volatile memory or non-volatile memory, or memory 2202 can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0631] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process and technical effects of the above-described apparatus and equipment can be referred to the corresponding processes and technical effects in the foregoing method embodiments, and will not be repeated here.
[0632] In the several embodiments provided in this application, the systems, apparatuses, and methods disclosed can be implemented in other ways. For example, some features of the method embodiments described above can be ignored or not performed. The apparatus embodiments described above are merely illustrative; the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Multiple units or components can be combined or integrated into another system. Furthermore, the coupling between units or components can be direct coupling or indirect coupling, including electrical, mechanical, or other forms of connection.
[0633] It should be understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0634] Furthermore, the terms "system" and "network" are often used interchangeably in this paper. The term "and / or" in this paper merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " in this paper generally indicates that the preceding and following related objects have an "or" relationship.
[0635] In summary, the above are merely preferred embodiments of the technical solutions of this application and are not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
[0636] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A service distribution method, characterized in that, Applied to a first terminal device, the method includes: Obtain first notification information, which is used to notify the target access entry on the first terminal device to display the target service. The first notification information is generated when the target event occurs and the target information meets the service distribution conditions. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located. The target service is displayed through the target access portal.
2. The method according to claim 1, characterized in that, The process of obtaining the first notification information includes: Generate the first notification information; or, Receive the first notification information from the server.
3. The method according to claim 2, characterized in that, Receiving the first notification information from the server includes: Upon detecting the occurrence of the target event, a second notification message is sent to the server, the second notification message being used to notify that the target event has occurred; The server receives a first notification message, which is generated by the server when the target event occurs and the target information meets the service distribution conditions.
4. The method according to claim 2, characterized in that, Receiving the first notification information from the server includes: If the target event is detected, determine whether the target information meets the service distribution conditions; If the target information meets the service distribution conditions, a third notification message is sent, which is used to notify the target information that the service distribution conditions are met. Receive a first notification message from the server, which is sent by the server based on the third notification message.
5. The method according to claim 2, characterized in that, Generating the first notification information includes: If the target event is detected, determine whether the target information meets the service distribution conditions; If the target information meets the service distribution conditions, the first notification information is generated.
6. The method according to any one of claims 3 to 5, characterized in that, The method further includes: Receive event triggering information from the server, the event triggering information indicating the target event; Based on the event triggering information, monitor whether the target event has occurred.
7. The method according to claim 5, characterized in that, The method further includes: Receive service instruction information from the server, the service instruction information instructing the target service to be displayed through the target access portal; The generation of the first notification information includes: The first notification information is generated based on the service instruction information.
8. The method according to claim 4 or 5, characterized in that, The method further includes: Receive distribution decision information from the server, the distribution decision information indicating the service distribution conditions.
9. The method according to any one of claims 1 to 8, characterized in that, The first notification information carries at least one of the following: the identifier of the target service, the redirect link of the target service, and the page link of the target service.
10. A service distribution method, characterized in that, Applied to a server, the method includes: Generate a service distribution strategy, wherein when a target event occurs and the target information meets the service distribution conditions, the target service is displayed through the target access entry, and the target information represents the state of the first terminal device and / or the environment in which the first terminal device is located. Send the service distribution policy or part of the service distribution policy to the first terminal device.
11. The method according to claim 10, characterized in that, The service distribution strategy includes event triggering information, distribution decision information, and service indication information. The event triggering information indicates the target event, the distribution decision information indicates the service distribution conditions, and the service indication information indicates that the target service is displayed through the target access entry.
12. The method according to claim 11, characterized in that, The service distribution strategy includes some information that triggers the event; the method further includes: Upon receiving a second notification message from the first terminal device, based on the distribution decision information, it is determined whether the target information meets the service distribution conditions, and the second notification message is used to notify that the target event has occurred; When the target information meets the service distribution conditions, a first notification message is sent to the first terminal device based on the service indication information. The first notification message is used to notify the target access entry on the first terminal device to display the target service. The target information represents the status of the first terminal device and / or the environment in which the first terminal device is located.
13. The method according to claim 11, characterized in that, The service distribution strategy includes the event triggering information and the distribution decision information. The method further includes: Upon receiving a third notification from the first terminal device, a first notification is sent based on the service indication information. The third notification is used to notify the target information that it meets the service distribution conditions. The third notification is generated by the first terminal device when it detects the occurrence of the target event and the target information meets the service distribution conditions. The first notification is used to notify the target access entry on the first terminal device to display the target service. The target information represents the state of the first terminal device and / or the environment in which the first terminal device is located.
14. The method according to any one of claims 10 to 13, characterized in that, The generation service distribution strategy includes: Obtain service distribution configuration information and target policy template, wherein the target policy template represents the characteristics of the industry corresponding to the target service; The service distribution policy is generated based on the service distribution configuration information and the target policy template.
15. The method according to claim 14, characterized in that, The service distribution configuration information includes at least one of the following: service access point information, device information corresponding to the service access point, target service information, and distribution requirement information.
16. The method according to claim 15, characterized in that, The device information includes device attribute information and operational configuration information. The operational configuration information is obtained through the following methods: Obtain initial runtime configuration information; If the initial runtime configuration information is determined to be accurate based on the distribution requirement information, the initial runtime configuration information shall be used as the runtime configuration information. If the initial runtime configuration information is determined to be inaccurate based on the distribution requirement information, the runtime configuration information is determined based on the spatial environment information of the service access point and the distribution requirement information.
17. The method according to claim 16, characterized in that, The determination of the runtime configuration information based on the spatial environment information of the service access point and the distribution requirement information includes: Based on the spatial environment information and the distribution requirement information, first runtime configuration information is generated; If the accuracy of the first running configuration information is determined based on the distribution demand information, the first running configuration information shall be used as the running configuration information. If it is determined that the first running configuration information is inaccurate based on the distribution demand information, device deployment information is sent to the second terminal device. The device deployment information is used to adjust the device layout of the distribution area corresponding to the target service. Upon receiving deployment confirmation information from the second terminal device, the system generates adjusted configuration information for the corresponding distribution area, including the adjusted configuration information for the operating system.
18. A service distribution device, characterized in that, It includes units for performing the steps of the method as described in any one of claims 1 to 9, or units for performing the steps of the method as described in any one of claims 10 to 17.
19. A service distribution device, characterized in that, include: A processor coupled to a memory for storing a program or instructions which, when executed by the processor, cause the service distribution device to perform the method of any one of claims 1 to 9 or any one of claims 10 to 17.
20. A chip, characterized in that, include: A processor for retrieving and running a computer program from memory, causing an electronic device on which the chip is mounted to perform the method of any one of claims 1 to 9 or any one of claims 10 to 17.
21. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed, they cause the computer to perform the method as described in any one of claims 1 to 9 or any one of claims 10 to 17.
22. A computer program product, characterized in that, It includes computer program instructions that cause the computer to perform the method as claimed in any one of claims 1 to 9 or any one of claims 10 to 17.
Citation Information
Patent Citations
Method and system for service decision distribution among multiple terminal devices
CN111614705A
Message notification method and device and electronic equipment
CN116260838A
Data Transmission Method and Apparatus
US20200236523A1
Information delivery method, device and system
WO2020114417A1