CN115379005A - Message processing method and device, storage medium and electronic equipment - Google Patents

Message processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115379005A
CN115379005A CN202210961268.6A CN202210961268A CN115379005A CN 115379005 A CN115379005 A CN 115379005A CN 202210961268 A CN202210961268 A CN 202210961268A CN 115379005 A CN115379005 A CN 115379005A
Authority
CN
China
Prior art keywords
message
push
strategy
user
user context
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210961268.6A
Other languages
Chinese (zh)
Inventor
薛少佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210961268.6A priority Critical patent/CN115379005A/en
Publication of CN115379005A publication Critical patent/CN115379005A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The specification discloses a message processing method, a message processing device, a storage medium and an electronic device, wherein the method comprises the following steps: receiving a target push message to be pushed, determining a user context push strategy corresponding to the target push message, acquiring current user context information, and pushing and displaying the target push message based on the user context information and the user context push strategy.

Description

Message processing method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a message processing method and apparatus, a storage medium, and an electronic device.
Background
With the rapid development of computer technology, electronic devices based on mobile phones, computers and the like are widely used. The information which the user is interested in is pushed to the electronic equipment regularly and timely, so that the viscosity and the fidelity of the user can be greatly improved. Message pushing generally sends a message to an electronic device corresponding to a user through the internet according to a certain sending rule and a relevant standard and protocol.
Disclosure of Invention
The present specification provides a message processing method, an apparatus, a storage medium and an electronic device, the technical solution is as follows:
in a first aspect, the present specification provides a message processing method, including:
receiving a target push message to be pushed, and determining a user scene push strategy corresponding to the target push message;
and acquiring current user context information, and pushing and displaying the target pushing message based on the user context information and the user context pushing strategy.
In a second aspect, the present specification provides a message processing method, comprising:
generating a target push message to be pushed;
and sending the target push message to electronic equipment, wherein the target push message is used for indicating the electronic equipment to determine a user context push strategy corresponding to the target push message, and pushing and displaying the target push message based on the current user context information and the user context push strategy.
In a third aspect, the present specification provides a message processing apparatus comprising:
the system comprises a strategy determining module, a strategy pushing module and a pushing module, wherein the strategy determining module is used for receiving a target pushing message to be pushed and determining a user scene pushing strategy corresponding to the target pushing message;
and the pushing display module is used for acquiring current user context information and pushing and displaying the target pushing message based on the user context information and the user context pushing strategy.
In a fourth aspect, the present specification provides a message processing apparatus comprising:
the message generating module is used for generating a target push message to be pushed;
and the message sending module is used for sending the target push message to the electronic equipment, wherein the target push message is used for indicating the electronic equipment to determine a user context push strategy corresponding to the target push message, and pushing and displaying the target push message based on the current user context information and the user context push strategy.
In a fifth aspect, the present specification provides a computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to carry out the above-mentioned method steps.
In a sixth aspect, the present specification provides an electronic device, which may comprise: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
In a seventh aspect, the present specification provides a computer program product having stored at least one instruction for being loaded by said processor and for performing the method steps described above.
The technical scheme provided by some embodiments of the present description brings beneficial effects at least including:
in one or more embodiments of the present specification, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, and then performs push display processing on the target push message based on the user context information and the user context push policy by acquiring current user context information, and performs push only when the user context information meets the user context push policy corresponding to the target push message, so that user disturbance caused by direct push display of the message to be pushed can be avoided, accurate push can be performed at an appropriate message push opportunity, and message push effect and accuracy are improved.
Drawings
In order to more clearly illustrate the technical solutions in the present specification or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a scenario of a message processing system provided herein;
FIG. 2 is a flow chart illustrating a message processing method provided herein;
FIG. 3 is a flow chart illustrating a message processing method provided herein;
FIG. 4 is a flow diagram of another message processing method provided herein;
FIG. 5 is a flow diagram illustrating another message processing method provided herein;
fig. 6 is a schematic structural diagram of a message processing apparatus provided in this specification;
FIG. 7 is a schematic structural diagram of a push display module provided in the present specification;
fig. 8 is a schematic structural diagram of a push display unit provided in the present specification;
fig. 9 is a schematic structural diagram of a policy matching unit provided in this specification;
fig. 10 is a schematic structural diagram of another message processing apparatus provided in the present specification;
fig. 11 is a schematic structural diagram of an electronic device provided in this specification;
FIG. 12 is a schematic diagram of the operating system and user space provided herein;
FIG. 13 is an architectural diagram of the android operating system of FIG. 12;
FIG. 14 is an architecture diagram of the IOS operating system of FIG. 12;
fig. 15 is a schematic structural diagram of an electronic device provided in this specification.
Detailed Description
The technical solutions in the present specification will be clearly and completely described below with reference to the drawings in the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in this application will be understood to be a specific case for those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the related art, after the message to be pushed is pushed to the electronic device, the electronic device may directly push and display the message to be pushed after the electronic device receives the message to be pushed. By adopting the mode, when the message to be pushed is directly pushed and displayed, the current state of the user of the electronic equipment is not expected or is not suitable for message pushing, for example, the user scans codes in a noisy environment for payment, the user is in a game environment, and the user is in a conversation environment, the user usually feels the touch of the pushed message more reversely, so that the user of the electronic equipment is disturbed, the message pushing effect is poor, and the message pushing opportunity is inaccurate.
The present application will be described in detail with reference to specific examples.
Please refer to fig. 1, which is a schematic view of a scenario of a message processing system provided in the present specification. As shown in fig. 1, the message processing system may include at least a client cluster and a service platform 100.
The client cluster may include at least one client, as shown in fig. 1, specifically including client 1 corresponding to user 1 and client 2, \8230correspondingto user 2, where client n corresponding to user n is an integer greater than 0.
Each client in the client cluster may be a communication-enabled electronic device including, but not limited to: wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices or other processing devices connected to a wireless modem, and the like. Electronic devices in different networks may be called different names, such as: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, personal Digital Assistant (PDA), electronic device in a 5G network or future evolution network, and the like.
The service platform 100 may be a separate server device, such as: rack-mounted, blade, tower-type or cabinet-type server equipment, or hardware equipment with higher computing power such as workstations and large computers; the server cluster may also be a server cluster composed of a plurality of servers, each server in the service cluster may be composed in a symmetric manner, where each server is functionally equivalent and functionally equivalent in the transaction link, and each server may provide services to the outside independently, where the independent provision of services may be understood as no assistance from another server.
In one or more embodiments of the present description, the service platform 100 may establish a communication connection with at least one client in the client cluster, and complete data interaction in a message processing process based on the communication connection, such as online transaction data interaction, for example, the service platform 100 may generate a target push message to be pushed based on the message processing method of the present description, and then the service platform 100 may send the target push message to the client; as another example, the service platform 100 may send the user context push policy to the client.
It should be noted that the service platform 100 establishes a communication connection with at least one client in the client cluster to perform interactive communication through a network, where the network may be a wireless network including but not limited to a cellular network, a wireless local area network, an infrared network, or a bluetooth network, and the wired network includes but not limited to an ethernet network, a Universal Serial Bus (USB), or a controller area network. In one or more embodiments of the specification, data (e.g., target compressed packets) exchanged over a network is represented using techniques and/or formats including Hyper Text Markup Language (HTML), extensible Markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), transport Layer Security (TLS), virtual Private Network (VPN), internet Protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
The message processing system embodiment provided in this specification and the message processing method in one or more embodiments belong to the same concept, and the execution subject corresponding to the message processing method in one or more embodiments of this specification may be the service platform 100 described above; an execution subject corresponding to the message processing method related to one or more embodiments in the specification may also be an electronic device corresponding to the client, and is specifically determined based on an actual application environment. The embodiment of the message processing system, which embodies the implementation process, can be referred to in the following method embodiments, and is not described herein again.
Based on the scenario diagram shown in fig. 1, a detailed description is provided below for a message processing method provided in one or more embodiments of the present specification.
Referring to fig. 2, a flow chart of a message processing method, which can be implemented by a computer program and can run on a von neumann-based message processing apparatus, is provided for one or more embodiments of the present specification. The computer program may be integrated into the application or may run as a separate tool-like application. The message processing apparatus may be an electronic device.
Specifically, the message processing method includes:
s102: receiving a target push message to be pushed, and determining a user scene push strategy corresponding to the target push message;
the targeted push message may be an advertisement message, a game message, application software, news, etc., and the targeted push message may be in the form of text, pictures, links, video, etc.
The target push message is generated in a message push scene, in the message push scene, the service platform serves as a publisher of the target push message, the service platform sends the sorted information resources to the electronic device corresponding to the user in a push (push) mode, for example, the service platform can generate the target push message and determine a user context push strategy corresponding to the target push message based on crowd screening, message content editing, message publishing opportunity, user context and other factors, and then the service platform sends the target push message to the electronic device corresponding to the user. The message pushing can realize multi-level requirements of users, so that the users can conveniently acquire corresponding information.
In one or more embodiments of the present disclosure, the electronic device may execute the message processing method, and perform push display processing on the target push message in combination with the current user context information and the user context push policy, and it can be understood that after receiving the target push message, the electronic device does not directly display the target push message, but needs to determine whether to display the message based on the user context push policy.
The user context push strategy is used for instructing the electronic equipment to display push messages under the condition that the corresponding user context is met.
Optionally, a better pushing experience can be brought to the user through the user context pushing strategy, and when the pushing strategy does not meet the pushing requirement based on the user context, the electronic device is instructed not to push and display the target pushing message; when the push strategy meets the push requirement based on the user situation, the electronic equipment is indicated to push and display the target push message;
optionally, the user context push policy is a decision policy for a message to be pushed, which is generally made based on the relevant user context elements. User context elements include, but are not limited to, location, motion state, time of day, and real-time environment. Whether and/or when to push messages is/are determined by a user context push policy in combination with an actual user context of a current user of the electronic device. And message pushing under an improper user scene is avoided.
In a possible implementation manner, the user context push policy may be a push display policy, which is formulated by the service platform and generated by combining the message content of the message to be pushed, several user context elements, and the like, and indicates the message to be pushed. The user context push policy may be determined when the service platform generates the target push message, that is, the user context push policy of the target push message is determined while the target push message is generated;
optionally, the service platform may send the target push message and the user context push policy corresponding to the target push message to the electronic device at the same time.
Specifically, after receiving a target push message and a user context push policy sent by a service platform, the electronic device may determine the user context push policy corresponding to the target push message.
Optionally, the service platform may pre-specify a plurality of reference user context push policies, where different reference user context push policies are applicable to different messages to be pushed, and specifically, the service platform may determine a user context push policy corresponding to a target push message to be pushed currently based on actual push transaction requirements. The service platform can transmit a plurality of reference user context push strategies to a plurality of electronic devices in advance. In an actual application stage, the service platform carries a policy identifier when sending the target push message, and the policy identifier can instruct the electronic device to determine the user context push policy indicated by the policy identifier from a plurality of reference user context push policies.
Specifically, after receiving the target push message, the electronic device obtains a policy identifier carried by the target push message, and then determines a user context push policy indicated by the policy identifier from a plurality of reference user context push policies based on the policy identifier.
In a feasible implementation manner, the electronic device may also perform semantic recognition on the target push message by using a semantic recognition algorithm after receiving the target push message to be pushed, so as to obtain message semantics, and then determine the user context push policy based on the message semantics of the target push message.
Alternatively, the semantic recognition algorithm may be based on a machine learning model of a neural network.
Optionally, the message semantics may be a semantic type, and different semantic types correspond to different user context push policies. It can be understood that a policy mapping relationship between a plurality of reference semantic types and a reference user context push policy corresponding to the reference semantic types is preset, so that after the message semantic types are determined, the user context push policy corresponding to the target push message can be determined based on the policy mapping relationship.
S104: and acquiring current user context information, and performing push display processing on the target push message based on the user context information and the user context push strategy.
The user context information is used to characterize a user context in which the electronic device and/or the user is currently located, and the user context information may be composed of several (user) context elements characterizing the user context.
The (user) context element includes, but is not limited to, element types such as a location element, a motion state element, a time element, and an environment element, and it is understood that the element type of the context element may be determined based on an actual message push transaction, and is not limited specifically here.
It is understood that the same element type of the (user) scene element is composed of several scene element parameters;
the location context element may set a number of location context element parameters based on the actual message push transaction, which may be: and the position and scene element parameters such as home, workplace, market, road and the like.
The motion state element may set several motion state element parameters based on the actual message push transaction, which may be: and the motion state element parameters such as rest, walking, riding and the like.
The time element may set several time element parameters based on the actual message push transaction, which may be: time element parameters such as working day on-duty way, working day on-duty time, working day on-duty rest time, working day, off-duty way, working day off-duty time, weekend rest time and the like;
the environment element may set several environment element parameters based on the actual message push transaction, which may be: environment element parameters such as conversation, game, noisy, quiet, office, home, video and audio.
Specifically, the electronic device is configured with a scene detection module, which can be used for the electronic device to detect current user scene information, and the scene detection module can be configured with corresponding hardware devices according to the actual application environment, such as hardware configured with a touch sensor, an infrared/ultraviolet sensor, a phototransistor, a light guide element, a position sensitive detector, a gyroscope sensor, a camera, and the like; the context detection module may be software or a program configured with a user to detect the current context state of the user according to the actual application environment, such as a program for detecting a current time element, a program for detecting an environment element, a program for detecting a location context element, and the like.
Illustratively, taking the example that the electronic device can obtain the current location context element through the context detection module, the location context element is one of the user context information.
Specifically, the electronic device may obtain positioning information of the satellite positioning system, and may further perform position calculation processing in combination with data of a home position of the user, a work location, a physical location of a point of interest (POI) such as a mall, and the like, to determine a current position context element of the electronic device, for example, determine that the position context element is a road, a work location, a mall, and the like. Furthermore, the location context parameters such as roads, workplaces, shopping malls, etc. in the related art, such as the interest point location determination algorithm and the interest plane location determination algorithm, may be used to precisely determine which location element parameter the current location context element is specific to.
Illustratively, taking the example that the electronic device can obtain the current time context element through the context detection module, the time context element is one of the user context information.
Specifically, the electronic device may acquire time data such as system date and universal time through the scene detection module, and determine which time element parameter the current time scene element is specifically based on the enumeration condition of the time element.
Illustratively, taking an example that the electronic device can obtain the current environment element through the context detection module, the environment element is one of the user context information.
Specifically, the electronic device may detect the use states of the microphone and the receiver, and determine whether the electronic device is in a call environment, that is, whether the current environmental element is a call environment parameter; the electronic equipment can detect the running state of the game application and determine whether the electronic equipment is in a game environment, namely whether the current environmental elements are game environmental parameters; the electronic equipment can determine whether the electronic equipment is in a noisy environment or a quiet environment by collecting environmental sounds and determining whether the electronic equipment is in the noisy environment or the quiet environment through sound characteristics, namely whether the current environmental elements are noisy environmental parameters or quiet environmental parameters; the electronic device can determine whether the electronic device is in the audio-visual environment by detecting the running state of the audio-visual program, that is, whether the current environment element is the audio-visual environment parameter, and the like.
Illustratively, taking an example that the electronic device can obtain the current motion state element through the context detection module, the motion state element is one of the user context information.
Specifically, the electronic device may periodically obtain the speed information to infer the current motion state, for example, set a speed range corresponding to a plurality of motion states, where each speed range corresponds to one operation state parameter such as a rest state, a walking state, a riding state, and the like, for example, 0 to 3km/h corresponds to rest or jogging, and further, for example: 3km/h-30km/h corresponds to walking, as follows: riding at 30km-60km/h correspondingly, and the like.
Specifically, after obtaining the current user context information, the electronic device further determines whether to perform push display processing on the target push message based on the user context information and a user context push policy.
Schematically, the electronic device may perform policy matching processing on the user context information and the user context push policy to obtain a policy matching result; and then, based on the strategy matching result, performing push display processing on the target push message.
The process of the policy matching process may be: the electronic equipment can detect whether the current user context information is matched with the pushed user context information in the user context pushing strategy, and if the user context information is matched with the pushed user context information, the strategy matching result is a context matching result; if the user context information is not matched with the pushed user context information, the strategy matching result is a context mismatching result;
schematically, the strategy matching result is a scene matching result, and a target push message can be displayed immediately; the strategy matching result is a situation mismatching result, and if the user situation information is not matched with the pushed user situation information, the target push message can be pushed in a delayed mode.
Optionally, detecting whether the current user context information is matched with the pushed user context information in the user context pushing policy, which may be detecting whether the user context information is contained in the pushed user context information, and if the user context information is completely consistent with the pushed user context information, generally considering that the user context information is matched with the pushed user context information, that is, the policy matching result is the context matching result; on the contrary, if the user context information is not included in the pushed user context information, the user context information is generally considered to be mismatched with the pushed user context information, that is, the policy matching result is the context mismatch result;
optionally, detecting whether the current user context information is matched with the pushed user context information in the user context pushing policy, which may be calculating a matching degree between the user context information and the pushed user context information, where the matching degree may be calculating information similarity, and setting a similarity threshold; further, under the condition that the information similarity is greater than the similarity threshold value, namely the user context information is matched with the pushed user context information, the strategy matching result is determined to be the context matching result; under the condition that the information similarity is smaller than or equal to the similarity threshold, the user context information is not matched with the pushed user context information, and at the moment, the strategy matching result is determined to be a context mismatching result;
in one or more embodiments of the present specification, a context element obtained from current user context information may be referred to as a first context element. The context element for pushing the user context information in the user context pushing policy may be referred to as a second context element. The information similarity calculation may be to calculate the element similarity between all the first scene elements and all the second scene elements.
In one or more embodiments of the present disclosure, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, and then performs push display processing on the target push message based on the user context information and the user context push policy by acquiring current user context information, and when the user context information conforms to the user context push policy corresponding to the target push message, the electronic device performs push processing, so as to avoid user disturbance caused by directly performing push display on the message to be pushed, and can perform push processing accurately at an appropriate message push timing, thereby improving message push effect and accuracy.
Referring to fig. 3, fig. 3 is a schematic flowchart of another embodiment of a message processing method according to one or more embodiments of the present disclosure. Specifically, the method comprises the following steps:
s202: receiving a target push message to be pushed, and determining a user scene push strategy corresponding to the target push message;
for details, reference may be made to the method steps of other embodiments related to the present specification, which are not described herein again.
S204: acquiring current user scene information;
for details, reference may be made to method steps of other embodiments related to the present specification, which are not described herein again.
S206: acquiring a first context element in the user context information, and acquiring a policy decision type corresponding to the user context push policy and a second context element associated with the policy decision type;
the first context element comprises at least one of a first location element, a first motion state element, a first time element, and a first environment element; the second scene element includes at least one of a second position element, a second motion state element, a second time element, and a second environment element.
The policy decision type may include at least a policy pass type and a policy fail type;
illustratively, the policy passing type is used to indicate that, in the case that the current user context information (such as a first context element) meets the push user context information (such as a second context element) of the policy, the push display processing is performed on the message to be pushed;
illustratively, the policy is not used by type to indicate that, in the case that the current user context information (e.g. the first context element) is the push user context information (e.g. the second context element) that does not satisfy the policy, the message to be pushed is not pushed and displayed, for example, the message to be pushed may be delayed and displayed, and so on.
In one or more embodiments of the present specification, the same element type of a scene element is composed of several scene element parameters; if the first scene element is composed of a plurality of scene element parameters under the same element type, and the second scene element is composed of a plurality of scene element parameters under the same element type;
the location context element may set a number of location context element parameters based on the actual message push transaction, which may be: and the position and scene element parameters such as home, workplace, market, road and the like.
The motion state element may set several motion state element parameters based on the actual message push transaction, which may be: and the motion state element parameters such as rest, walking, riding and the like.
The time element may set several time element parameters based on the actual message push transaction, which may be: time element parameters such as working day on-duty way, working day on-duty time, working day on-duty rest time, working day, off-duty way, working day off-duty time, weekend rest time and the like;
the environment element may set several environment element parameters based on the actual message push transaction, which may be: and environment element parameters such as conversation, games, noise, silence, office, home, audio and video and the like.
In a possible implementation manner, the policy decision type corresponds to a second context element, for example, the policy passing type corresponds to a plurality of second context elements used for judging passing of the policy; if the strategy failing type corresponds to a plurality of second scenario elements for judging that the strategy fails;
s208: matching the first scene element with the second scene element according to element parameters to obtain an element parameter matching result;
the electronic equipment can perform strategy matching processing on the user context information and the user context pushing strategy to obtain a strategy matching result; and then, based on the strategy matching result, carrying out pushing display processing on the target pushing message.
The process of the policy matching process may be: the electronic equipment can detect whether a first scene element in the current user scene information is matched with a second scene element pushing the user scene information in the user scene pushing strategy or not, and if the first scene element is matched with the second scene element, the element parameter matching result is element matching; if the first scene element is not matched with the second scene element, the element parameter matching result is scene mismatching;
it can be understood that the electronic device may perform corresponding matching based on the relevant scene elements in the user context information to obtain an element parameter matching result first, and then generate a corresponding policy matching result based on the policy decision type. That is, the electronic device may generate a policy matching result based on the element parameter matching result and the policy decision type.
In a specific implementation scenario, it is detected whether a first scenario element is included in the second scenario element, and if an element parameter of the first scenario element is completely consistent with an element parameter of the second scenario element, the first scenario element is generally considered to be matched with the second scenario element, that is, an element parameter matching result is an element match; on the contrary, if the element parameter of the first scene element is not included in the element parameter of the second scene element, the first scene element is generally considered to be not matched with the second scene element, that is, the result of matching the element parameter is scene mismatch;
illustratively, the second scene element includes 4 categories, which are a second location element, a second motion state element, a second time element, and a second environment element;
the second position element is: a 'home' element parameter and a 'road' element parameter;
the second motion state element is: a 'rest' element parameter and a 'riding' element parameter;
the second time element is: the 'off-duty time' element parameter and the 'on-duty way' element parameter;
the second environmental element is: a quiet element parameter and a video element parameter;
further, a first scene element in the user scene information acquired by the electronic device also includes 4 types, a first position element, a first motion state element, a first time element and a first environment element;
the first position element is: the "road" element parameter, at this time: the first position element is contained in the second position element;
the first motion state element is: the "rest" factor parameters, at this time: the first position element is contained in the second position element;
the first time element is: "en route to work" factor parameters, at which time: the first position element is contained in the second position element;
the first environmental element is: the "call" element parameter, at this time: the first location element is not included in the second location element;
it can be understood that, since the first location element is not included in the second location element, it may be determined that the first scene element does not match the second scene element, that is, the element parameter matching result is a scene mismatch. And then further combining the strategy decision types to generate a strategy matching result. Further, based on S210, assuming that the policy decision type is the policy non-passing type, determining that the policy matching result is the context matching result, and it can be understood that the current user context push policy substantially indicates that the target push information is not displayed in the user context corresponding to the second context element; further, based on S210, assuming that the policy decision type is the policy passing type, determining that the policy matching result is the scenario mismatching result, and it can be understood that the current user scenario push policy substantially indicates that the target push information is immediately displayed in the user scenario corresponding to the second scenario element;
in a possible implementation manner, a scenario element logical expression may be constructed according to a policy decision type corresponding to a user scenario push policy and a second scenario element associated with the policy decision type and according to a plurality of second scenario elements associated with the policy decision type, where the scenario element logical expression is composed of a plurality of second scenario elements that respectively include an element parameter and a logical relation, and the logical relation may be "and", "or" not ". The user scene pushing strategy can be further abstracted through the scene element logic formula, and the expressed user scene can be further diversified.
For example, the user context push policy focuses on the fact that the element a1 is not included in the second context element a, the element B1 or B2 may be included in the second context element B, and the element C2 is not included in the second context element C.
The matching process can be converted into whether the first scene element in the current user scene information meets the scene element logical expression or not through the scene element logical expression, if so, the element matching result is determined to be element matching, and if not, the element matching result is determined to be element mismatching. In the whole matching process, the representation of the complex user scene is simplified, the user scene situation concerned by the user scene pushing strategy can be represented only through the scene element logical expression, and whether the first scene element meets the scene element logical expression or not is judged subsequently, so that diversified, complex and changeable multiple user scenes can be covered.
S210: and generating a strategy matching result based on the element parameter matching result and the strategy decision type.
In a possible implementation manner, if the element matching result is element matching and the policy decision type is a policy passing type, determining that the policy matching result is a scenario matching result, where the scenario matching result is matching between the user scenario information and the user scenario push policy;
in a possible implementation manner, if the element matching result is an element mismatch and the policy decision type is a policy non-passing type, determining that the policy matching result is the context matching result;
in a possible implementation manner, if the element matching result is element matching and the policy decision type is a policy non-passing type, determining that the policy matching result is a scenario mismatching result, where the scenario mismatching result is that the user scenario information is not matched with the user scenario pushing policy;
in a possible implementation manner, if the element matching result is an element mismatch and the policy decision type is a policy pass type, it is determined that the policy matching result is the scenario mismatch result.
It can be understood that by generating a policy matching result based on the element parameter matching result and the policy decision type, and the policy decision type may include at least a policy passing type and a policy failing type, a diversified display decision for pushing a message based on a user context pushing policy may be implemented, and intelligence of message pushing is improved; and the message pushing is not limited to be immediately displayed under the condition that the user situation is suitable for meeting the strategy, and the situation that the message pushing display is not carried out under the condition that the user situation is not suitable can be accurately judged.
S212: if the strategy matching result is a scene matching result, performing message display processing on the target push message;
it can be understood that, if the policy matching result is the scenario matching result, the electronic device may perform rendering display processing on the target push message based on the message display style, for example, the target push message may be displayed in the set UI message display style.
S214: and if the strategy matching result is a scene mismatching result, performing delayed display processing on the target push message.
It can be understood that, if the policy matching result is a scenario mismatching result, the current user scenario information of the electronic device generally does not satisfy the user scenario or the user state of the direct message display concerned by the user scenario push policy, and the electronic device may perform the delay display processing on the target push message.
In a possible implementation manner, the electronic device may determine a time delay display duration corresponding to the user context push policy, where the time delay display duration may be a preset time value, and after the time delay display duration is ended, the electronic device may perform message display processing on the target push message.
In one possible implementation, the electronic device may measure a display priority of the message based on a message semantic of the target push message, and determine different delay durations based on different display priorities.
Schematically, the electronic device may perform semantic recognition on the target push message by using a semantic recognition algorithm to obtain message semantics, and then determine a target display priority based on the message semantics of the target push message; acquiring a preset delay time corresponding to the target display priority; further, the type of the message (such as news type, advertisement type, instant messaging type, account notification type) to which the message belongs may be determined based on message semantics, and if different message types are preset with target display priorities, the target display priorities may be determined according to the type of the message to which the message belongs.
Alternatively, the semantic recognition algorithm may be based on a machine learning model of a neural network.
In a specific implementation scenario, the electronic device receives a target push message A1 sent by a service platform, the target push message A1 is used for reminding a user of remotely completing a certain intelligent home operation from work, in the message push scenario, the service platform as a publisher of the target push message A1 can also determine a user context push strategy corresponding to the target push message A1 based on the above method while generating a message, and assume that the target push message a corresponds to the user context push strategy B1;
for example, the service platform may specify a user context push policy B1 in advance, the target push message A1 carries a policy identifier, and the electronic device may determine, by acquiring the policy identifier, that the target push message A1 corresponds to the user context push policy B1;
further, it is assumed that the user context push policy B1 includes a second context element whose policy decision type is a policy passing type and is associated with the policy passing type, where the second context element may specifically be a second location element, a second motion state element, and a second time element; as can be understood from the type user context push policy B1 in combination with the policy, the electronic device displays the target push message A1, and requires that the current user context information simultaneously satisfy "a second position element, a second motion state element, and a second time element". For example, the second position element is "within 1 km from the user's home", and the second motion state element is "a bus riding motion state". The second time element is "after 18 to 00 for next shift time":
scenario 1: the electronic equipment acquires corresponding information from the current user context information, and specifically comprises the following steps: the first scene element in the user scene information is a first position element "0.8 km from the user's home", a first motion state element "take bus", and a first time element "current time 19 00",
the electronic device may specifically perform element parameter matching on the first context element and the second context element by: whether a current first position element of the electronic device is 0.8 kilometer away from a user home, whether a second position element in a user context push strategy B1 is met within 1 kilometer away from the user home, whether a current first motion state element in a bus riding mode meets a second motion state element in the user context push strategy B1, namely a bus riding motion state, and whether a current first time element in the current first time element, namely current time 19, 00 meets a second time element in the user context push strategy B1, namely 18 corresponding to the next shift time, are met through the element parameter matching, and an element parameter matching result, namely, context matching, is obtained, and the electronic device displays a target push message A1.
Scenario 2: the electronic equipment acquires corresponding information from the current user context information, and specifically comprises the following steps: the first scene element in the user scene information is a first position element ' 1.8 km away from the user's home ', a first motion state element ' taking bus ', and a first time element ' current time 17 ';
the electronic device may specifically perform element parameter matching on the first context element and the second context element by: whether a current first position element of the electronic device is 1.8 kilometers away from a user home and meets a requirement that a second position element in a user context push strategy B1 is within 1 kilometer away from the user home, whether a current first motion state element meets a requirement that a current first motion state element takes a bus and meets a requirement that a second motion state element in the user context push strategy B1 is in a bus riding motion state, and whether a current first time element ' current time 17 ' meets a requirement that a second time element in the user context push strategy B1 is 18 corresponding to off-duty time ', and obtaining an element parameter matching result- ' context mismatch ' after the element parameter matching is not met.
In a specific implementation scenario, the electronic device receives a target push message A2 sent by a service platform, where the target push message A2 is used to remind a user of paying attention to outdoor weather in a certain time period during outdoor exercise, and in the outdoor message push scenario, the service platform, as a publisher of the target push message A2, may also determine a user context push policy corresponding to the target push message A2 based on the above manner while generating a message, assuming that the target push message A2 corresponds to the user context push policy B2;
for example, the service platform may pre-specify a user context push policy B2, the target push message A1 carries a policy identifier, and the electronic device may determine, by acquiring the policy identifier, that the target push message A2 corresponds to the user context push policy B2;
further, it is assumed that the user context push policy B1 includes a policy decision type that the policy no-pass type and the policy pass type are associated with 1 second context element, and a policy pass type is associated with 2 second context elements, specifically, the second context elements associated with the policy no-pass type are: the second position element and the second scenario element associated by the policy through the type are: a second motion state element, a second time element; combining the policy passing policy and the policy not passing type user context push policy B2 may be understood that the electronic device displays the target push message A2, which requires that the first location element in the current user context information does not satisfy the second location element, the first motion state element in the current user context information satisfies the second motion state element, and the first time element in the current user context information satisfies the second time element ". For example, the second position element is "out of 0.8 km from the user's home", and the second motion state element is "outdoor motion state". The second time element is "today 18-00:
scenario 1: the electronic equipment acquires corresponding information from the current user context information, and specifically comprises the following steps: the first scene element in the user scene information is a first position element "0.9 km from the user home", a first motion state element "outdoor walking state", and a first time element "current time 19";
the electronic device may specifically perform element parameter matching on the first context element and the second context element by: whether a current first position element of the electronic device "is 0.9 kilometer away from the user's home" does not satisfy a second position element "is 0.8 kilometer away from the user's home" in the user context push policy B2, whether a current first motion state element "outdoor walking state" satisfies a second motion state element "outdoor motion state" in the user context push policy B2, and whether a current first time element "current time 19 00" satisfies a second time element "today 18-00" in the user context push policy B2, can all be satisfied through the aforementioned element parameter matching, and an element parameter matching result- "context matching" is obtained, the electronic device displays a target push message A2 to remind the user to pay attention to outdoor weather in a certain time period during outdoor motion.
Scenario 2: the electronic device obtains corresponding information from the current user context information, specifically: the first context element in the user context information is a first position element "0.2 km from the user's home", a first motion state element "motion silent state (if no relevant motion is performed)", and a first time element is "current time 19 00";
the electronic device may specifically perform element parameter matching on the first context element and the second context element by: whether a current first position element of the electronic device "0.2 km from the user's home" does not satisfy a second position element "0.8 km from the user's home" in the user context push policy B2, whether a current first motion state element "motion silence state (if no relevant motion is performed)" satisfies a second motion state element "outdoor motion state" in the user context push policy B2, and whether a current first time element "current time 19" satisfies a second time element "today 18-00-20" in the user context push policy B2, wherein the first position element "current time" may satisfy the following conditions.
In one or more embodiments of the present specification, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, and then performs push display processing on the target push message based on the user context information and the user context push policy by acquiring current user context information, and performs push only when the user context information meets the user context push policy corresponding to the target push message, so that user disturbance caused by direct push display of the message to be pushed can be avoided, accurate push can be performed at an appropriate message push opportunity, and message push effect and accuracy are improved; the pushing matching is carried out by combining the scene elements, so that the pushing opportunity matched with the current user can be accurately determined, the message is prevented from being displayed in an inappropriate user state, and the intelligence of message pushing is improved; and the accurate message pushing can improve the user attention of the pushed message to a certain extent, and improve the click category of the message content or the conversion effect of the message content service.
Referring to fig. 4, fig. 4 is a flowchart illustrating another embodiment of a message processing method according to one or more embodiments of the present disclosure. Specifically, the method comprises the following steps:
s302: receiving a target push message to be pushed; for details, reference may be made to method steps of other embodiments related to the present specification, which are not described herein again.
S304: determining a user context pushing strategy corresponding to the target pushing message, acquiring current user context information, and performing strategy matching processing on the user context information and the user context pushing strategy to obtain a strategy matching result;
for details, reference may be made to the method steps of other embodiments related to the present specification, which are not described herein again.
S306: if the strategy matching result is a scene matching result, performing message display processing on the target push message;
for details, reference may be made to the method steps of other embodiments related to the present specification, which are not described herein again.
S308: and if the strategy matching result is a scene mismatching result, monitoring the current user scene conversion state, and performing message display processing on the target push message based on the user scene conversion state.
The user context state may be understood as that the user context at the current time is updated relative to the user context information at the previous time, that is, the context element at the current time is updated compared to the context element at the previous time, such as the operation state element is updated, the location element is updated, the time element is updated, and so on.
Alternatively, a monitoring period and/or a monitoring validity period may be set in advance, and the current user context switching state is monitored based on the monitoring period and/or the monitoring validity period.
Illustratively, the monitoring period may be understood as a monitoring time interval for monitoring the current user context switching state, such as once every 10 minutes and once every 3 minutes;
illustratively, monitoring the validity period may be understood as not monitoring the current user context switching state any more after the time corresponding to the detection validity period expires; when the time corresponding to the validity period is not detected to be expired, the current user scene switching state is continuously monitored;
optionally, in some embodiments, the monitoring validity period may be less than or equal to a message push time corresponding to the target push message.
It can be understood that, if the policy matching result is a scenario mismatching result, the electronic device takes the user scenario information corresponding to the scenario mismatching result as historical scenario information; and then monitoring the user context information of each monitoring moment based on a certain monitoring period, namely executing the step of acquiring the current user context information when the monitoring moment arrives, comparing the user context information with historical context information, and determining difference context information as context updating information, thereby realizing the step of monitoring the context updating information aiming at the user context.
Illustratively, if the user context information acquired at the subsequent monitoring time is compared with the historical context information, at this time, if the operation state element is updated and the location element is updated, the context update information is the operation state element and the location element.
In a possible implementation manner, by monitoring context update information for the user context information, a user context transition state may be determined based on the context update information, and if the context update information is an operation state element and a location element, the user context transition state is: and the operation state scene conversion and the position element scene conversion occur, and the operation state scene element item and the position element scene element item are equivalent to the scene element conversion item.
Further, after determining the user context transition state, a step of obtaining current user context information and performing push display processing on the target push message based on the user context information and the user context push policy may be performed, that is, step S304 is performed.
Further, after determining the user scene transition state, the previous round of unmatched scene element unmatched items may be referred to, as in the previous round of matching: if only the operation state scene elements are not matched and the other scene elements are matched, the scene element unmatched item is the operation state scene element item, when the scene element unmatched item is the same as the scene element conversion item in the user scene conversion state, the step of obtaining the current user scene information and carrying out the pushing and displaying processing on the target pushing message based on the user scene information and the user scene pushing strategy is executed, that is, the step of S304 is executed.
In a possible implementation manner, considering that real-time monitoring or continuous monitoring may bring about more resource consumption, in order to save device monitoring resources, a delay monitoring duration may be determined, and a current user context switching state is monitored based on the delay monitoring duration;
the delay detection duration is used for not monitoring the user context information after delaying for a period of time, and considering that the user context of the electronic equipment is not changed or has small variation in a short time, the current user context switching state can be monitored after the delay detection duration is reached. For example, the delay detection time is 3 minutes, and the monitoring of the current user context switching state may be started after 3 minutes.
Optionally, the delay monitoring duration may be a preset static duration.
Optionally, the delay monitoring time period may be a dynamic time period determined based on an actual scenario. Further, the determining the delay monitoring duration may be:
the electronic equipment determines an abnormal scene element from the user scene information based on the strategy matching result, and carries out conversion duration prediction processing based on the abnormal scene to obtain the predicted scene element conversion duration; and taking the scene element conversion time length as a delay monitoring time length.
In the process of matching and processing the abnormal context elements, namely the policy, a first context element in the user context information and a second context element in the policy are unmatched in the process of matching and processing, for example, in the process of matching and processing the policy: and if the operation state scene elements are not matched and the other scene elements are matched, the state scene elements are abnormal scene elements.
Illustratively, the conversion duration prediction processing is performed based on the abnormal situation, so as to obtain the predicted scene element conversion duration: the abnormal scene element parameters corresponding to the abnormal scene elements are obtained, the reference scene element parameters corresponding to the abnormal scene elements in the user scene pushing strategy are determined, the scene element conversion duration is predicted based on the abnormal scene elements and the reference scene elements, and the scene element conversion duration is used as the delay monitoring duration.
If the abnormal scene element is a state scene element and the scene element in the user scene information state is a 'rest element' parameter, the 'rest' element parameter is the abnormal scene element parameter;
if the abnormal situation element is a state situation element, the state situation element in the user situation pushing strategy is specifically a 'riding' element parameter, and the 'riding' element parameter is a reference situation element parameter;
specifically, the electronic device may predict the scene element conversion duration based on the abnormal scene element and the reference scene element, where a duration conversion mapping relationship from a plurality of reference scene elements to historical reference time of another plurality of reference scene elements is preset, and the historical reference time is an empirical value determined by acquiring a large amount of sample data and using a data analysis means. The duration conversion mapping relationship may be represented in the form of a duration conversion mapping table, a duration conversion array, a duration conversion set, or the like. In practical applications, the context element conversion duration may be obtained from the "duration conversion mapping relationship" based on the abnormal context element and the reference context element.
S310: acquiring message pushing time corresponding to the target pushing message, and monitoring a pushing display state of the target pushing message based on the message pushing time;
the message push time is the life cycle time of the target push message, and if the target push message is not displayed within the life cycle time, the target push message can be regarded as a message expiration.
The push display state is a pushed display state and a delayed display state.
The pushed state may be understood as having displayed a targeted push message based on the user context push policy and the user context information.
The delayed display state may be understood as that the target push message is not displayed based on the user context push policy and the user context information, and the target push message may be displayed only when the user context information after the user context conversion meets the user context push policy.
S312: and if the push display state is a delay display state and the message push time is expired, canceling the push display processing of the target push message.
It is understood that the electronic device may detect whether the push display state is the delayed display state and whether the message push time is expired.
Illustratively, if the push display state is a delayed display state and the message push time expires, the push display processing on the target push message is cancelled. Further, the target push message can be deleted.
Illustratively, if the push display state is a delayed display state and the message push time is not expired, the current user context switching state is monitored, and the message display processing is performed on the target push message based on the user context switching state.
In one or more embodiments of the present specification, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, and then performs push display processing on the target push message based on the user context information and the user context push policy by acquiring current user context information, and performs push only when the user context information meets the user context push policy corresponding to the target push message, so that user disturbance caused by direct push display of the message to be pushed can be avoided, accurate push can be performed at an appropriate message push opportunity, and message push effect and accuracy are improved; the pushing matching is carried out by combining the scene elements, the pushing opportunity matched with the current user can be accurately determined, the message is prevented from being displayed under the improper user state, and the intelligence of message pushing is improved; and the accurate message pushing can improve the user attention of the message pushing to a certain extent and improve the click category of the message content or the conversion effect of the message content service.
Referring to fig. 5, a flow chart of a message processing method, which can be implemented by a computer program and can run on a von neumann-based message processing apparatus, is provided for one or more embodiments of the present specification. The computer program may be integrated into the application or may run as a separate tool-like application. The message processing device may be a service platform.
Specifically, the message processing method includes:
s402: generating a target push message to be pushed;
in one or more embodiments of the present specification, the target push message is generated in a message push scenario, in the message push scenario, a service platform is used as a publisher of the target push message, the service platform performs operations such as message editing and message integration on related information resources to generate a target push message to be pushed, and determines a target user group covered by the target push message and a message push opportunity, and meanwhile, may also determine a user context push policy corresponding to the target push message in combination with a user context factor, and when the target user group meets the message push opportunity, the target push message may be sent to an electronic device corresponding to the corresponding target user group in a push (push) form.
It can be understood that, in the whole message processing process, the service platform may generate a target push message and determine a user context push policy corresponding to the target push message based on the factors of crowd screening, message content editing, message publishing opportunity, user context, and the like, and the service platform sends the target push message to the electronic device corresponding to the target user crowd. The message pushing can realize multi-level requirements of users, so that the users can conveniently acquire corresponding information.
S404: and sending the target push message to electronic equipment, wherein the target push message is used for indicating the electronic equipment to determine a user context push strategy corresponding to the target push message, and pushing and displaying the target push message based on the current user context information and the user context push strategy.
It can be understood that, during the process of generating the target push message, the service platform may instruct the electronic device to determine a user context policy corresponding to the target push message, for example, the service platform may determine the user context policy corresponding to the target push message while generating the target push message, where the user context push policy is used to instruct the electronic device to display the push message under the condition that the corresponding user context is satisfied
In one or more embodiments of the present specification, the user context push policy may be a decision policy for a message to be pushed (e.g., a targeted push message) that is generally made based on relevant user context elements. User context elements include, but are not limited to, location, motion status, time of day, and real-time environment. The electronic device may determine whether to push the message and/or when to push the message according to the user context push policy in combination with the actual user context of the current user after receiving the targeted push message. And message pushing under an improper user scene is avoided.
In one or more embodiments of the present specification, the user context push policy may be a push display policy that is formulated by the service platform and indicates a message to be pushed, which is generated by combining the message content of the message to be pushed, a plurality of user context elements, and other factors. The user context push policy may be determined when the service platform generates the target push message, that is, the user context push policy of the target push message is determined while the target push message is generated;
optionally, the service platform may send the target push message and the user context push policy corresponding to the target push message to the electronic device at the same time.
Optionally, the service platform may pre-specify a plurality of reference user context push policies, where different reference user context push policies are applicable to different messages to be pushed, and specifically, the service platform may determine a user context push policy corresponding to a target push message to be pushed currently based on actual push transaction requirements. The service platform can transmit a plurality of reference user context push strategies to a plurality of electronic devices in advance. In an actual application stage, the service platform carries a policy identifier when sending the target push message, and the policy identifier can instruct the electronic device to determine the user context push policy indicated by the policy identifier from a plurality of reference user context push policies.
Specifically, after receiving the target push message, the electronic device obtains a policy identifier carried by the target push message, and then determines a user context push policy indicated by the policy identifier from a plurality of reference user context push policies based on the policy identifier.
In one or more embodiments of the present description, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, then performs push display processing on the target push message based on the user context information and the user context push policy by acquiring current user context information, and performs push only when the user context information conforms to the user context push policy corresponding to the target push message, so as to avoid user disturbance caused by directly performing push display on the message to be pushed, accurately perform push at an appropriate message push opportunity, and improve message push effect and accuracy; the pushing matching is carried out by combining the scene elements, the pushing opportunity matched with the current user can be accurately determined, the message is prevented from being displayed under the improper user state, and the intelligence of message pushing is improved; and the accurate message pushing can improve the user attention of the pushed message to a certain extent, and improve the click category of the message content or the conversion effect of the message content service.
The message processing apparatus provided in this specification will be described in detail below with reference to fig. 6. It should be noted that, the message processing apparatus shown in fig. 6 is configured to execute the method according to one or more embodiments shown in this specification, and for convenience of description, only a part related to this specification is shown, and specific technical details are not disclosed, please refer to the method according to one or more embodiments shown in this specification.
Referring to fig. 6, a schematic structural diagram of a message processing apparatus according to the present specification is shown. The message processing apparatus 1 may be implemented as all or a part of a user terminal by software, hardware, or a combination of both. According to some embodiments, the message processing apparatus 1 includes a policy determining module 11 and a push display module 12, and is specifically configured to:
the policy determining module 11 is configured to receive a target push message to be pushed, and determine a user context push policy corresponding to the target push message;
and the pushing display module 12 is configured to acquire current user context information, and perform pushing display processing on the target pushing message based on the user context information and the user context pushing policy.
Optionally, as shown in fig. 7, the push display module 12 includes:
a policy matching unit 121, configured to perform policy matching processing on the user context information and the user context push policy to obtain a policy matching result;
a push display unit 122, configured to perform push display processing on the target push message based on the policy matching result.
Optionally, as shown in fig. 8, the pushed display unit 122 includes:
a message display subunit 1221, configured to perform message display processing on the target push message if the policy matching result is a scenario matching result;
a delay display subunit 1222, configured to perform delay display processing on the target push message if the policy matching result is a scenario mismatch result.
Optionally, as shown in fig. 9, the policy matching unit 121 includes:
an element obtaining subunit 1211, configured to obtain a first context element in the user context information, and obtain a policy decision type corresponding to the user context push policy and a second context element associated with the policy decision type;
an element matching subunit 1212, configured to perform element parameter matching on the first context element and the second context element, so as to obtain an element parameter matching result;
a result generating subunit 1213, configured to generate a policy matching result based on the element parameter matching result and the policy decision type.
Optionally, the result generating subunit 1213 is specifically configured to:
if the element matching result is element matching and the strategy decision type is a strategy passing type, determining that the strategy matching result is a situation matching result, and the situation matching result is that the user situation information is matched with the user situation pushing strategy;
if the element matching result is element mismatching and the strategy decision type is a strategy non-passing type, determining the strategy matching result as the situation matching result;
if the element matching result is element matching and the strategy decision type is a strategy non-passing type, determining that the strategy matching result is a situation mismatching result, wherein the situation mismatching result is that the user situation information is not matched with the user situation pushing strategy;
and if the element matching result is element mismatching and the strategy decision type is a strategy passing type, determining the strategy matching result as the situation mismatching result.
Optionally, the first scene element includes at least one of a first position element, a first motion state element, a first time element, and a first environment element; the second scene element includes at least one of a second position element, a second motion state element, a second time element, and a second environment element.
Optionally, the delay display subunit 1222 is specifically configured to:
and monitoring the current user scene conversion state, and performing message display processing on the target push message based on the user scene conversion state.
Optionally, the delay display subunit 1222 is specifically configured to:
monitoring scene updating information aiming at the user scene information, and determining a user scene conversion state based on the scene updating information;
and executing the steps of acquiring the current user context information based on the user context switching state, and pushing and displaying the target pushing message based on the user context information and the user context pushing strategy.
Optionally, the delay display subunit 1222 is specifically configured to:
and determining the time length of the delay monitoring, and monitoring the current user scene switching state based on the time length of the delay monitoring.
Optionally, the delay display subunit 1222 is specifically configured to:
determining abnormal scene elements from the user scene information based on the strategy matching result, and performing conversion duration prediction processing based on the abnormal scene elements to obtain predicted scene element conversion duration;
and taking the scene element conversion time length as a delay monitoring time length.
Optionally, the apparatus 1 is further configured to:
acquiring message pushing time corresponding to the target pushing message, and monitoring a pushing display state of the target pushing message based on the message pushing time;
and if the push display state is a delay display state and the message push time is expired, canceling the push display processing of the target push message.
It should be noted that, when the message processing apparatus provided in the foregoing embodiment executes the message processing method, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the message processing apparatus and the message processing method provided in the foregoing embodiments belong to the same concept, and details of implementation processes thereof are shown in the method embodiments and will not be described herein again.
The above serial numbers are for description only and do not represent the merits of the embodiments.
In one or more embodiments of the present disclosure, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, then performs push display processing on the target push message based on the user context information and the user context push policy by obtaining current user context information, and performs push only when the user context information conforms to the user context push policy corresponding to the target push message, so as to avoid user disturbance caused by directly performing push display on the message to be pushed, accurately perform push at an appropriate message push opportunity, and improve message push effect and accuracy; the pushing matching is carried out by combining the scene elements, so that the pushing opportunity matched with the current user can be accurately determined, the message is prevented from being displayed in an inappropriate user state, and the intelligence of message pushing is improved; and the accurate message pushing can improve the user attention of the message pushing to a certain extent and improve the click category of the message content or the conversion effect of the message content service.
Please refer to fig. 10, which shows a schematic structural diagram of a message processing apparatus in the present specification. The message processing apparatus 1 may be implemented as all or a part of a user terminal by software, hardware, or a combination of both. According to some embodiments, the message processing apparatus 2 includes a message generating module 21 and a message sending module 22, and is specifically configured to:
a message generating module 21, configured to generate a target push message to be pushed;
a message sending module 22, configured to send the target push message to an electronic device, where the target push message is used to instruct the electronic device to determine a user context push policy corresponding to the target push message, and perform push display processing on the target push message based on current user context information and the user context push policy.
It should be noted that, when the message processing apparatus provided in the foregoing embodiment executes the message processing method, only the division of the functional modules is illustrated, and in practical applications, the above functions may be distributed and completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above. In addition, the message processing apparatus and the message processing method provided in the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above serial numbers are for description only and do not represent the merits of the embodiments.
In one or more embodiments of the present disclosure, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, then performs push display processing on the target push message based on the user context information and the user context push policy by obtaining current user context information, and performs push only when the user context information conforms to the user context push policy corresponding to the target push message, so as to avoid user disturbance caused by directly performing push display on the message to be pushed, accurately perform push at an appropriate message push opportunity, and improve message push effect and accuracy; the pushing matching is carried out by combining the scene elements, so that the pushing opportunity matched with the current user can be accurately determined, the message is prevented from being displayed in an inappropriate user state, and the intelligence of message pushing is improved; and the accurate message pushing can improve the user attention of the message pushing to a certain extent and improve the click category of the message content or the conversion effect of the message content service.
The present specification further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the message processing method according to the embodiment shown in fig. 1 to 5, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 5, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored in the computer program product, and the at least one instruction is loaded by the processor and executes the message processing method according to the embodiment shown in fig. 1 to 5, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 5, and is not described herein again.
Referring to fig. 11, a block diagram of an electronic device according to an exemplary embodiment of the present application is shown. The electronic device in the present application may comprise one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system, including a system based on Android system depth development, an IOS system developed by apple, including a system based on IOS system depth development, or other systems. The data storage area may also store data created by the electronic device during use, such as a phonebook, audio-visual data, chat log data, and the like.
Referring to fig. 12, the memory 120 may be divided into an operating system space, where an operating system is run, and a user space, where native and third-party applications are run. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in an animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 13, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the electronic device, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 340 provides main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building an application, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application developed by a third-party developer, such as a game application, an instant messaging program, a photo beautification program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 14, and the IOS system includes: a Core operating system Layer 420 (Core OS Layer), a Core Services Layer 440 (Core Services Layer), a Media Layer 460 (Media Layer), and a touchable Layer 480 (Cocoa Touch Layer). The kernel operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the core services layer 440. The core services layer 440 provides system services and/or program frameworks such as a Foundation (Foundation) framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and the like, as needed by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the electronic device. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework illustrated in FIG. 14, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The Android system can be referred to as a mode and a principle for realizing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input commands or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. Touch displays are typically provided on the front panel of an electronic device. The touch display screen may be designed as a full-screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the specification.
In addition, those skilled in the art will appreciate that the configurations of the electronic devices illustrated in the above-described figures are not meant to be limiting, and that the electronic devices may include more or fewer components than those shown, or some components may be combined, or different arrangements of components may be used. For example, the electronic device further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In this specification, the execution subject of each step may be the electronic device described above. Optionally, the execution subject of each step is an operating system of the electronic device. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this specification.
The electronic device of the present specification may further include a display device, and the display device may be any device capable of implementing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. A user may utilize a display device on the electronic device 101 to view information such as displayed text, images, video, and the like. The electronic device may be a smartphone, a tablet computer, a gaming device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
In the electronic device shown in fig. 11, where the electronic device may be a terminal, the processor 110 may be configured to call the network optimization application stored in the memory 120, and specifically perform the following operations:
receiving a target push message to be pushed, and determining a user scene push strategy corresponding to the target push message;
and acquiring current user context information, and pushing and displaying the target pushing message based on the user context information and the user context pushing strategy.
In an embodiment, when executing the pushing display processing on the target push message based on the user context information and the user context pushing policy, the processor 110 specifically executes the following steps:
strategy matching processing is carried out on the user scene information and the user scene pushing strategy to obtain a strategy matching result;
and carrying out pushing display processing on the target pushing message based on the strategy matching result.
In an embodiment, when the processor 110 executes the push display processing on the target push message based on the policy matching result, the following steps are specifically executed:
if the strategy matching result is a scene matching result, performing message display processing on the target push message;
and if the strategy matching result is a scene mismatching result, performing delayed display processing on the target push message.
In an embodiment, when performing the policy matching processing on the user context information and the user context push policy to obtain a policy matching result, the processor 110 specifically performs the following steps:
acquiring a first context element in the user context information, and acquiring a policy decision type corresponding to the user context push policy and a second context element associated with the policy decision type;
matching the first scene element with the second scene element according to element parameters to obtain an element parameter matching result;
and generating a strategy matching result based on the element parameter matching result and the strategy decision type.
In an embodiment, when the processor 110 executes the step of generating the policy matching result based on the element parameter matching result and the policy decision type, the following steps are specifically executed:
if the element matching result is element matching and the strategy decision type is a strategy passing type, determining that the strategy matching result is a situation matching result, wherein the situation matching result is that the user situation information is matched with the user situation pushing strategy;
if the element matching result is element mismatching and the strategy decision type is a strategy non-passing type, determining the strategy matching result as the situation matching result;
if the element matching result is element matching and the strategy decision type is a strategy non-passing type, determining that the strategy matching result is a situation mismatching result, wherein the situation mismatching result is that the user situation information is not matched with the user situation pushing strategy;
and if the element matching result is element mismatching and the strategy decision type is a strategy passing type, determining the strategy matching result as the situation mismatching result.
In one embodiment, the first context element comprises at least one of a first location element, a first motion state element, a first time element, and a first environment element; the second scene element includes at least one of a second location element, a second motion state element, a second time element, and a second environment element.
In an embodiment, when the processor 110 executes the delayed display processing on the target push message, the following steps are specifically executed:
and monitoring the current user scene conversion state, and performing message display processing on the target push message based on the user scene conversion state.
In an embodiment, when the monitoring of the current user context switching state and the message display processing of the target push message based on the user context switching state are performed, the processor 110 specifically performs the following steps:
monitoring scene updating information aiming at the user scene information, and determining a user scene conversion state based on the scene updating information;
and executing the steps of acquiring the current user context information based on the user context switching state, and performing push display processing on the target push message based on the user context information and the user context push strategy.
In an embodiment, when the processor 110 performs the monitoring of the current user context switching state, the following steps are specifically performed:
and determining the time length of the delay monitoring, and monitoring the current user scene switching state based on the time length of the delay monitoring.
In an embodiment, when the processor 110 executes the determining of the time delay monitoring time length, the following steps are specifically executed:
determining an abnormal scene element from the user scene information based on a strategy matching result, and performing conversion duration prediction processing based on the abnormal scene element to obtain predicted scene element conversion duration;
and taking the scene element conversion time length as a delay monitoring time length.
In one embodiment, after performing the receiving the targeted push message to be pushed, the processor 110 further performs the following steps:
acquiring message pushing time corresponding to the target pushing message, and monitoring a pushing display state of the target pushing message based on the message pushing time;
and if the push display state is a delay display state and the message push time is expired, canceling the push display processing of the target push message.
In one or more embodiments of the present description, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, then performs push display processing on the target push message based on the user context information and the user context push policy by acquiring current user context information, and performs push only when the user context information conforms to the user context push policy corresponding to the target push message, so as to avoid user disturbance caused by directly performing push display on the message to be pushed, accurately perform push at an appropriate message push opportunity, and improve message push effect and accuracy; the pushing matching is carried out by combining the scene elements, so that the pushing opportunity matched with the current user can be accurately determined, the message is prevented from being displayed in an inappropriate user state, and the intelligence of message pushing is improved; and the accurate message pushing can improve the user attention of the message pushing to a certain extent and improve the click category of the message content or the conversion effect of the message content service.
Fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 15, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. Processor 1001 may include one or more processing cores, among other things. The processor 1001 connects various parts throughout the server 1000 using various interfaces and lines, and performs various functions of the server 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the above modem may not be integrated into the processor 1001, and may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may alternatively be at least one memory device located remotely from the processor 1001. As shown in fig. 15, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an application program.
In the electronic device 1000 shown in fig. 15, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the processor 1001 may be configured to call the application program stored in the memory 1005, and specifically perform the following operations:
generating a target push message to be pushed;
and sending the target push message to electronic equipment, wherein the target push message is used for indicating the electronic equipment to determine a user context push strategy corresponding to the target push message, and pushing and displaying the target push message based on the current user context information and the user context push strategy.
In this specification, after receiving a target push message sent by a service platform, an electronic device determines a user context push policy corresponding to the target push message, and then, by acquiring current user context information, performs push display processing on the target push message based on the user context information and the user context push policy, and performs push only when the user context information conforms to the user context push policy corresponding to the target push message, so that user disturbance caused by direct push display of the message to be pushed can be avoided, accurate push can be performed at an appropriate message push opportunity, and message push effect and accuracy are improved; the pushing matching is carried out by combining the scene elements, so that the pushing opportunity matched with the current user can be accurately determined, the message is prevented from being displayed in an inappropriate user state, and the intelligence of message pushing is improved; and the accurate message pushing can improve the user attention of the message pushing to a certain extent and improve the click category of the message content or the conversion effect of the message content service.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and executed by a computer to implement the processes of the embodiments of the methods described above. The storage medium can be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and should not be taken as limiting the scope of the present application, so that the present application will be covered by the appended claims.

Claims (17)

1. A message processing method is applied to electronic equipment and comprises the following steps:
receiving a target push message to be pushed, and determining a user scene push strategy corresponding to the target push message;
and acquiring current user context information, and performing push display processing on the target push message based on the user context information and the user context push strategy.
2. The method of claim 1, wherein the performing push display processing on the targeted push message based on the user context information and the user context push policy comprises:
strategy matching processing is carried out on the user scene information and the user scene pushing strategy to obtain a strategy matching result;
and carrying out pushing display processing on the target pushing message based on the strategy matching result.
3. The method of claim 2, wherein the performing push display processing on the target push message based on the policy matching result comprises:
if the strategy matching result is a scene matching result, performing message display processing on the target push message;
and if the strategy matching result is a scene mismatching result, performing delayed display processing on the target push message.
4. The method according to claim 2, wherein the performing policy matching processing on the user context information and the user context push policy to obtain a policy matching result includes:
acquiring a first context element in the user context information, and acquiring a policy decision type corresponding to the user context push policy and a second context element associated with the policy decision type;
matching the first scene element with the second scene element according to element parameters to obtain an element parameter matching result;
and generating a strategy matching result based on the element parameter matching result and the strategy decision type.
5. The method of claim 4, wherein generating a policy matching result based on the element parameter matching result and the policy decision type comprises:
if the element matching result is element matching and the strategy decision type is a strategy passing type, determining that the strategy matching result is a situation matching result, and the situation matching result is that the user situation information is matched with the user situation pushing strategy;
if the element matching result is element mismatching and the strategy decision type is a strategy non-passing type, determining the strategy matching result as the scene matching result;
if the element matching result is element matching and the strategy decision type is a strategy non-passing type, determining that the strategy matching result is a situation mismatching result, wherein the situation mismatching result is that the user situation information is not matched with the user situation pushing strategy;
and if the element matching result is element mismatching and the strategy decision type is a strategy passing type, determining the strategy matching result as the situation mismatching result.
6. The method of claim 4, the first context element comprising at least one of a first location element, a first motion state element, a first time element, and a first environment element; the second scene element includes at least one of a second position element, a second motion state element, a second time element, and a second environment element.
7. The method of claim 3, wherein the performing delayed display processing on the targeted push message comprises:
and monitoring the current user scene conversion state, and performing message display processing on the target push message based on the user scene conversion state.
8. The method of claim 7, wherein the monitoring a current user context transition state, and performing message display processing on the targeted push message based on the user context transition state comprises:
monitoring scene updating information aiming at the user scene information, and determining a user scene conversion state based on the scene updating information;
and executing the steps of acquiring the current user context information based on the user context switching state, and performing push display processing on the target push message based on the user context information and the user context push strategy.
9. The method of claim 7, the monitoring a current user context transition state, comprising:
and determining the time length of the delay monitoring, and monitoring the current user scene switching state based on the time length of the delay monitoring.
10. The method of claim 9, the determining a delay monitoring duration, comprising:
determining abnormal scene elements from the user scene information based on the strategy matching result, and performing conversion duration prediction processing based on the abnormal scene elements to obtain predicted scene element conversion duration;
and taking the scene element conversion time length as a delay monitoring time length.
11. The method of claim 1, after receiving the target push message to be pushed, further comprising:
acquiring message pushing time corresponding to the target pushing message, and monitoring a pushing display state of the target pushing message based on the message pushing time;
and if the push display state is a delay display state and the message push time is expired, canceling the push display processing of the target push message.
12. A message processing method is applied to a service platform, and comprises the following steps:
generating a target push message to be pushed;
and sending the target push message to electronic equipment, wherein the target push message is used for indicating the electronic equipment to determine a user context push strategy corresponding to the target push message, and pushing and displaying the target push message based on the current user context information and the user context push strategy.
13. A message processing apparatus, the apparatus comprising:
the system comprises a strategy determining module, a strategy judging module and a strategy display module, wherein the strategy determining module is used for receiving a target push message to be pushed and determining a user scene push strategy corresponding to the target push message;
and the pushing display module is used for acquiring current user context information and pushing and displaying the target pushing message based on the user context information and the user context pushing strategy.
14. A message processing apparatus, the apparatus comprising:
the message generating module is used for generating a target push message to be pushed;
and the message sending module is used for sending the target push message to the electronic equipment, wherein the target push message is used for indicating the electronic equipment to determine a user context push strategy corresponding to the target push message, and pushing and displaying the target push message based on the current user context information and the user context push strategy.
15. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1-11 or 12.
16. A computer program product having stored at least one instruction for being loaded by said processor and for performing the method steps according to any of claims 1-11 or 12.
17. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 11 or 12.
CN202210961268.6A 2022-08-11 2022-08-11 Message processing method and device, storage medium and electronic equipment Pending CN115379005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210961268.6A CN115379005A (en) 2022-08-11 2022-08-11 Message processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210961268.6A CN115379005A (en) 2022-08-11 2022-08-11 Message processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115379005A true CN115379005A (en) 2022-11-22

Family

ID=84066194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210961268.6A Pending CN115379005A (en) 2022-08-11 2022-08-11 Message processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115379005A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116347336A (en) * 2023-05-29 2023-06-27 江西省气象服务中心(江西省专业气象台、江西省气象宣传与科普中心) Meteorological information sending method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN107666650A (en) * 2016-07-21 2018-02-06 中兴通讯股份有限公司 The processing method and terminal of notification message
CN107911445A (en) * 2017-11-14 2018-04-13 维沃移动通信有限公司 A kind of information push method, mobile terminal and storage medium
CN110046018A (en) * 2019-04-24 2019-07-23 Oppo广东移动通信有限公司 Show method, apparatus, electronic equipment and the medium of message
CN111800445A (en) * 2019-04-09 2020-10-20 Oppo广东移动通信有限公司 Message pushing method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN107666650A (en) * 2016-07-21 2018-02-06 中兴通讯股份有限公司 The processing method and terminal of notification message
CN107911445A (en) * 2017-11-14 2018-04-13 维沃移动通信有限公司 A kind of information push method, mobile terminal and storage medium
CN111800445A (en) * 2019-04-09 2020-10-20 Oppo广东移动通信有限公司 Message pushing method and device, storage medium and electronic equipment
CN110046018A (en) * 2019-04-24 2019-07-23 Oppo广东移动通信有限公司 Show method, apparatus, electronic equipment and the medium of message

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116347336A (en) * 2023-05-29 2023-06-27 江西省气象服务中心(江西省专业气象台、江西省气象宣传与科普中心) Meteorological information sending method and system
CN116347336B (en) * 2023-05-29 2023-08-11 江西省气象服务中心(江西省专业气象台、江西省气象宣传与科普中心) Meteorological information sending method and system

Similar Documents

Publication Publication Date Title
CN107889070B (en) Picture processing method, device, terminal and computer readable storage medium
CN108536468A (en) Profile acquisition method, providing method, device and equipment
CN111447107B (en) Network state determining method and device, storage medium and electronic equipment
CN111459586B (en) Remote assistance method, device, storage medium and terminal
CN110730271B (en) Schedule reminding method and device, storage medium and terminal
CN110702346B (en) Vibration testing method and device, storage medium and terminal
CN112653670A (en) Service logic vulnerability detection method, device, storage medium and terminal
CN111914149A (en) Request processing method and device, storage medium and electronic equipment
CN111596971A (en) Application cleaning method and device, storage medium and electronic equipment
CN111918386A (en) Positioning method, positioning device, storage medium and electronic equipment
CN111986454A (en) Wireless earphone searching method, device, storage medium and terminal
CN115379005A (en) Message processing method and device, storage medium and electronic equipment
CN113312572A (en) Resource processing method and device, storage medium and electronic equipment
CN115328725A (en) State monitoring method and device, storage medium and electronic equipment
CN107765858B (en) Method, device, terminal and storage medium for determining face angle
CN113114849A (en) Alarm clock reminding method and device, storage medium and terminal
CN112597022A (en) Remote diagnosis method, device, storage medium and electronic equipment
CN111770510A (en) Network experience state determination method and device, storage medium and electronic equipment
CN113691676B (en) Equipment state prompting method and device, storage medium and electronic equipment
CN112612487B (en) Application installation method, device, storage medium and terminal
CN111641692B (en) Session data processing method and device and electronic equipment
CN114125048B (en) Message push setting method and device, storage medium and electronic equipment
CN113315687B (en) Proxy network management method, device, storage medium and terminal
CN116934395A (en) Feature processing method and device, storage medium and electronic equipment
CN116705023A (en) Method and device for determining false wake-up data, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination