CN114125048B - Message push setting method and device, storage medium and electronic equipment - Google Patents

Message push setting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114125048B
CN114125048B CN202111355061.6A CN202111355061A CN114125048B CN 114125048 B CN114125048 B CN 114125048B CN 202111355061 A CN202111355061 A CN 202111355061A CN 114125048 B CN114125048 B CN 114125048B
Authority
CN
China
Prior art keywords
application
message
pushing
state information
state
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.)
Active
Application number
CN202111355061.6A
Other languages
Chinese (zh)
Other versions
CN114125048A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111355061.6A priority Critical patent/CN114125048B/en
Publication of CN114125048A publication Critical patent/CN114125048A/en
Application granted granted Critical
Publication of CN114125048B publication Critical patent/CN114125048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a message push setting method, a device, a storage medium and electronic equipment, wherein the method comprises the following steps: the method comprises the steps that a first device and a second device respectively send first application state information and second application state information to a message display device, the message display device sets message pushing states of all applications in the first application state information and the second application state information according to message pushing priorities of device application messages to obtain first pushing state information and second pushing state information, the first pushing state information is sent to the first device, the second pushing state information is sent to the second device, and the first device and the second device push application messages of all applications to the message display device to display according to the pushing state information. By adopting the method and the device, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced.

Description

Message push setting 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 method and an apparatus for setting message pushing, a storage medium, and an electronic device.
Background
The electronic devices can be connected in a wireless mode such as Bluetooth, WIFI and the like and conduct information interaction, however, due to the increasing intelligent demands of people, one electronic device is often not only interconnected with one electronic device, but an interconnection relation is required to be established with two electronic devices at the same time, but the same application software possibly exists in the two electronic devices, and if the application software exists, the situation that the same message is pushed for a plurality of times when the message needs to be pushed, so that information display is disordered and repeated is caused.
Disclosure of Invention
The embodiment of the application provides a message pushing setting method, a device, a storage medium and electronic equipment, which can set pushing state information of a first device and a second device according to message pushing priority, avoid confusion and repetition of application message pushing of the first device and the second device, improve the using effect of message pushing and reduce waste of resources such as bandwidth and the like. The technical scheme is as follows:
In a first aspect, an embodiment of the present application provides a message push setting method, which is applied to a message display device, where the method includes:
If an interconnection relation exists between the first device and the second device and an interconnection request of the second device is received, acquiring first application state information of the first device and second application state information of the second device;
Based on the message pushing priority of the device application message, respectively setting the message pushing state of each application in the first application state information and the second application state information to obtain first pushing state information and second pushing state information;
transmitting the first push state information to the first device, and transmitting the second push state information to the second device;
The first pushing state information and the second pushing state information are respectively used for indicating the first equipment and the second equipment to push the application messages of the applications to the message display device for display.
In a second aspect, an embodiment of the present application provides a message push setting method, which is applied to a message push device, where the method includes:
transmitting application state information to a message display device;
Receiving push state information sent by the message display device, wherein the push state information is obtained by setting the application state based on the message push priority of the equipment application message;
And pushing application messages of all applications in the message pushing device to the message display device for display based on the pushing state information.
In a third aspect, an embodiment of the present application provides a message display apparatus, including:
The state information acquisition module is used for acquiring first application state information of the first equipment and second application state information of the second equipment if an interconnection relation exists between the state information acquisition module and the first equipment and an interconnection request of the second equipment is received;
the pushing state setting module is used for setting message pushing states of all applications in the first application state information and the second application state information respectively based on message pushing priority of the device application message to obtain first pushing state information and second pushing state information;
The pushing state sending module is used for sending the first pushing state information to the first equipment and sending the second pushing state information to the second equipment;
The first pushing state information and the second pushing state information are respectively used for indicating the first equipment and the second equipment to push the application messages of the applications to the message display device for display.
In a fourth aspect, an embodiment of the present application provides a message pushing device, where the device includes:
the state information sending module is used for sending application state information to the message display device;
The push state receiving module is used for receiving push state information sent by the message display device, wherein the push state information is obtained by setting the application state based on the message push priority of the equipment application message;
and the message pushing module is used for pushing application messages of all applications in the message pushing device to the message display device for display based on the pushing state information.
In a fifth aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
In a sixth aspect, an embodiment of the present application provides an electronic device, which may include: 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 one or more embodiments of the present application, a first device and a second device respectively send first application state information and second application state information to a message display device, where the message display device sets a message push state of each application in the first application state information and the second application state information according to a message push priority of an application message of the device, so as to obtain first push state information and second push state information, and then sends the first push state information to the first device, and sends the second push state information to the second device, where the first device and the second device push application messages of each application to the message display device according to the push state information for display. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an exemplary diagram of message pushing provided by an embodiment of the present application;
fig. 2 is a schematic flow chart of a message push setting method provided in an embodiment of the present application;
fig. 3 is a schematic flow chart of a message push setting method provided in an embodiment of the present application;
FIG. 4 is an exemplary schematic diagram of push state generation provided by an embodiment of the present application;
FIG. 5 is an exemplary diagram of message push priority preservation according to an embodiment of the present application;
fig. 6 is a flowchart of an update information sending method according to an embodiment of the present application;
Fig. 7 is a schematic flow chart of a message push setting method according to an embodiment of the present application;
Fig. 8 is a flow chart of a message push setting method according to an embodiment of the present application;
fig. 9 is a schematic flow chart of a message push setting method provided by an embodiment of the present application;
Fig. 10 is a schematic flow chart of a message push setting method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a message display device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a message display device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 14 is a schematic diagram of an operating system and user space provided by an embodiment of the present application;
FIG. 15 is an architecture diagram of the android operating system of FIG. 13;
FIG. 16 is an architecture diagram of the IOS operating system of FIG. 13;
Fig. 17 is a schematic structural diagram of a message pushing device according to an embodiment of the present application;
Fig. 18 is a schematic structural diagram of a message pushing device according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 20 is a schematic diagram of an operating system and user space provided by an embodiment of the present application;
FIG. 21 is an architecture diagram of the android operating system of FIG. 19;
FIG. 22 is an architecture diagram of the IOS operating system of FIG. 19;
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should 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 should be noted that, unless expressly specified and limited otherwise, "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The message pushing setting method provided by the embodiment of the application can be realized by depending on a computer program, and can be operated on a message display device and a message pushing device based on a von neumann system. The computer program may be integrated in the application or may run as a stand-alone tool class application. The message display device and the message pushing device in the embodiment of the application can be as follows, but are not limited to: the message display device and the message pushing device can establish interconnection relationship in a wireless connection mode such as bluetooth, WIFI or Near Field Communication (NFC), and the first device and the second device are both message pushing devices. After the message pushing device and the message display device establish an interconnection relationship, information interaction can be performed between the message pushing device and the message display device, for example, the message pushing device receives an application message applied in the message pushing device, and the message pushing device can push the application message to the message display device for display. Referring to fig. 1, an exemplary schematic diagram of message pushing is provided for an embodiment of the present application, where a first device and a second device may both establish an interconnection relationship with a message display device, when the first device sends an interconnection request to the message display device, the interconnection request may include first application state information of the first device, and the interconnection request of the same second device may also include second application state information, where the application state information of the message pushing device includes application identifiers and application states [ hb1] of all applications in the message pushing device, where the application identifiers may be application names, application manufacturers, etc., and the application states include an active state and an inactive state [ hb2], and when the application states are active states, it is indicated that the message pushing device may receive application messages of the applications, for example, a mobile phone may receive application messages of instant messaging applications running in the background; when the application state of the application is inactive, it means that the message pushing device does not receive application messages of the application, e.g. the mobile phone does not receive application messages of the application that has been closed and exited from the background. If the message display device is to establish an interconnection relationship with the first device and the second device at the same time, the message display device generates first push state information and second push state information according to the message push priorities of the first device and the second device, and sends the first push state information and the second push state information to the first device and the second device respectively. The push state information received by the message push device may include application identifications and message push state of all applications in the message push device hb 3. The message pushing state comprises a pushing state and a pause pushing state [ hb4], and when the message pushing state of the application is the pushing state, the message pushing device can push the received application message of the application to the message display device; when the message pushing state of the application is a pause pushing state, the message pushing device does not push the received application message of the application to the message display device. It can be understood that if the message pushing device and the message display device establish an interconnection relationship, but the message pushing device does not push the message according to the application state information when the message pushing state is not received, that is, the message is pushed to the message display device when the application message of the application is received.
The message push setting method provided by the application is described in detail below with reference to specific embodiments.
Referring to fig. 2, a flow diagram of a message push setting method is provided in an embodiment of the present application. As shown in fig. 2, the embodiment of the present application is described from the message display device side and the two message pushing device sides together, and the method may include the following steps S101-S109.
S101, the first device sends a first interconnection request to the message display device.
Specifically, the first device may start the interconnection device search function, search for a message display device that can establish an interconnection relationship in a search range of the first device, and if the message display device is found, the first device may send a first interconnection request to the message display device, where the first interconnection request is used to request to establish an interconnection relationship with the message display device, and the first interconnection request may include first application state information of the first device.
S102, the message display device sends first response information to the first equipment, and establishes interconnection relation with the first equipment.
Specifically, after receiving the first interconnection request of the first device, if the user agrees to establish an interconnection relationship with the first device, the message display device sends first response information to the first device, which indicates that the interconnection request of the first device is agreed, and establishes an interconnection relationship with the first device. After the first device establishes an interconnection relationship with the message display device, the first device can push the application message received from the application to the message display device for display.
S103, the second device sends a second interconnection request to the message display device.
Specifically, similar to the first device, the second device may also send a second interconnection request to the message display apparatus, where the request establishes an interconnection relationship with the message display apparatus, and the second interconnection request may include second application state information of the second device.
S104, the message display device acquires the first application state information of the first device and the second application state information of the second device.
Specifically, before receiving the second interconnection request of the second device, the message display device has established an interconnection relationship with the first device, and if the interconnection request is to be established with the second device and the first device at the same time, the message pushing states applied in the first device and the second device need to be set, so that the situations of message pushing confusion, repetition and the like are avoided. The message display device may obtain first application state information of the first device and second application state information of the second device.
S105, the message display device sets message pushing states of all applications in the first application state information and the second application state information based on message pushing priority of the device application message, and obtains the first pushing state information and the second pushing state information.
Specifically, the message display device may set message pushing priorities of the first device and the second device, and when the first device and the second device need to push application messages of the same application, a device with a higher message pushing priority may push application messages to the message display device, while a device with a lower message pushing priority does not push application messages to the message display device. The message display device may set the message push priority according to the time sequence of establishing the interconnection relationship, for example, the message push priority of the first device may be higher than the message push priority of the second device, or the message push priority may be preset in the message display device by the user. The message display device may set the message pushing state of each application in the first application state information and the second application state information based on the message pushing priority, so as to obtain the first pushing state information and the second pushing state information, for example, if the first device and the second device have the same target application with active application states, the message display device may set the message pushing state of the target application in the device with higher message pushing priority to be a pushable state, and set the message pushing state of the target application in the device with lower message pushing priority to be a pause pushing state, so as to achieve the purpose of avoiding confusion and repetition of message pushing in the first device and the second device.
And S106, the message display device sends the first push state information to the first device.
And S107, the message display device sends the second push state information to the second device.
S108, the first device pushes application messages of all applications in the first device to the message display device for display based on the first push state information.
Specifically, after receiving the first push state information, the first device pushes application information to the message display device for display according to the message push state of each application in the first push state information, for example, the first device receives an application message from the application, if the message push state of the application is a push-able state, the application message is pushed to the message display device for display, and if the message push state of the application is a pause push state, the application message is not pushed to the message display device.
And S109, the second equipment pushes application messages of all applications in the second equipment to the message display device for display based on the second push state information.
Specifically, the same as the first device, after receiving the second push state message, the second device pushes the application information to the display device for display according to the message push state of each application in the second push state message.
In the embodiment of the application, the first device and the second device respectively send the first application state information and the second application state information to the message display device, the message display device sets the message pushing state of each application in the first application state information and the second application state information according to the message pushing priority of the device application message to obtain the first pushing state information and the second pushing state information, then the first pushing state information is sent to the first device, the second pushing state information is sent to the second device, and the first device and the second device push the application message of each application to the message display device for display according to the pushing state information. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced.
Referring to fig. 3, a flow diagram of a message push setting method is provided in an embodiment of the present application. As shown in fig. 3, the embodiment of the present application is described from the message display device side and the two message pushing device sides together, and the method may include the following steps S201 to S211.
S201, the first device sends a first interconnection request to the message display apparatus.
Specifically, the first device may start the interconnection device search function, search for a message display device that can establish an interconnection relationship in a search range of the first device, and if the message display device is found, the first device may send a first interconnection request to the message display device, where the first interconnection request is used to request to establish an interconnection relationship with the message display device, and the first interconnection request may include first application state information of the first device.
S202, the message display device sends first response information corresponding to the first interconnection request to the first equipment, and establishes an interconnection relationship with the first equipment.
Specifically, after receiving the first interconnection request of the first device, if the user agrees to establish an interconnection relationship with the first device, the message display device sends first response information to the first device, which indicates that the interconnection request of the first device is agreed, and establishes an interconnection relationship with the first device. After the first device establishes an interconnection relationship with the message display device, the first device can push the application message received from the application to the message display device for display.
S203, the second device sends a second interconnection request to the message display device.
Specifically, similar to the first device, the second device may also send a second interconnection request to the message display apparatus, where the request establishes an interconnection relationship with the message display apparatus, and the second interconnection request may include second application state information of the second device.
S204, the message display device determines message push priorities of the first device and the second device.
Specifically, before receiving the second interconnection request of the second device, the message display device has established an interconnection relationship with the first device, and if the interconnection request is to be established with the second device and the first device at the same time, the message pushing states applied in the first device and the second device need to be set, so that the situations of message pushing confusion, repetition and the like are avoided. The message display device may obtain the first application state information of the first device from the first interconnection request, and obtain the second application state information of the second device from the second interconnection request. Then the message display device may set message pushing priorities of the first device and the second device, when the first device and the second device need to push application messages of the same application, the device with higher message pushing priority may push application messages to the message display device, and the device with lower message pushing priority does not push application messages to the message display device.
The method for determining the message push priority of the first device and the second device by the message display device includes, but is not limited to, the following two methods:
The method comprises the following steps: the message display device may determine the message push priority according to the time of establishing the interconnection relationship, for example, the message push priority of the device that establishes the interconnection relationship with the message display device first is higher than the message push priority of the device that establishes the interconnection relationship with the message display device later, and the first device establishes the interconnection relationship with the message display device first before the second device, so that the message push priority of the first device is higher than the second device.
The second method is as follows: the user can build a priority list in the message display device in advance, wherein the priority list comprises the equipment identifiers of the equipment and the corresponding message pushing priority, and the equipment identifiers can be equipment serial numbers and the like. The message display apparatus may find the message push priority of the first device in the priority list according to the device identifier of the first device, and find the message push priority of the second device in the priority list according to the device identifier of the second device, for example, if the message push priority of the second device in the priority list established by the user is higher than the first device, the message display apparatus determines that the message push priority of the second device is higher than the first device. If the device identifier of any one of the first device and the second device does not exist in the priority list, the message display device determines that the message push priority of the device corresponding to the device identifier which does not exist in the priority list is lowest, for example, if the device identifier of the first device does not exist in the priority list and the device identifier of the second device exists in the priority list, the message push priority of the first device is lower than that of the second device.
S205, the message display device acquires target applications with the same application identifier and active application states from the first application state information and the second application state information.
Specifically, the message display device may acquire the target application whose application identifier is the same and whose application states are both active in the first application state information and the second application state information. Because when the target application generates the application message, the first device and the second device push the application message of the target application to the message display device because the application states of the target application in the first device and the second device are both active, and problems such as confusion and repetition of application message pushing occur, so that the message display device sets different message pushing states for the target application in the first device and the second device.
S206, the message display device sets a first message pushing state for the target application in the first application state information and sets a second message pushing state for the target application in the second application state information based on the message pushing priority.
Specifically, the message display device sets a first message pushing state for the target application in the first application state information and sets a second message pushing state for the target application in the second application state information according to the message pushing priorities of the first device and the second device, and it can be understood that the first message pushing state is different from the second message pushing state, that is, in the first device and the second device, the device with the higher message pushing priority can only push the application message of the target application to the message display device.
Optionally, if the message pushing priority of the first device is higher than that of the second device, the message display device sets the message pushing state of the target application in the second application state information to a pause pushing state to obtain a second message pushing state, and sets the message pushing state of the target application in the first application state information to a pushable state to obtain a first message pushing state; if the message pushing priority of the second device is higher than that of the first device, the message display device sets the message pushing state of the target application in the first application state information to be in a pause pushing state to obtain a first message pushing state, and sets the message pushing state of the target application in the second application state message to be in a pushing state to obtain a second message pushing state.
S207, the message display device generates first push state information based on the first application state information and the first message push state, and generates second push state information based on the second application state information and the second message push state.
Specifically, the message display device may generate first push state information according to an application identifier of the target application in the first application state information, where the first push state information corresponds to a first message push state of the target application; and generating second pushing state information according to the application identifier of the target application in the second application state information and corresponding to the second message pushing state of the target application.
Alternatively, the message display device may send only the push state information including the message push state of the target application to the first device and the second device, or may send the push state information including the message push states of all the applications to the first device and the second device.
The message display device may acquire a first application except the target application in the first application state information, and acquire a second application except the target application in the second application state information, and since the first device and the second device do not collide on pushing of application messages of the first application and application messages of the second application, message pushing states of the first application and the second application are irrelevant to message pushing priorities of the first device and the second device. The message display device may set a third message push state for the first application in the first application state information and set a fourth message push state for the second application in the second application state information according to the correspondence between the application state and the message push state. Then, the application identifier of the target application in the first application state information corresponds to a first message pushing state, and the application identifier of the first application corresponds to a third message pushing state, so that first pushing state information is generated; and the application identifier of the target application in the second application state information corresponds to the second message pushing state, and the application identifier of the second application corresponds to the fourth message pushing state, so that second pushing state information is generated.
The corresponding relation between the application state and the message pushing state is as follows: if the application state of any one of the first application and the second application is an active state, the message display device sets the message pushing state of any one application to be a push-able state; if the application state of any application is inactive, the message display device sets the message push state of any application to a pause push state.
Referring to fig. 4, an exemplary schematic diagram of generation of push state information is provided for an embodiment of the present application, where, both the application state information sent by the message pushing device and the push state information generated by the message display device may be in a list form, if the message display device determines that the message push priority of the second device is higher than that of the first device, as shown in fig. 4, the first application state information and the second application state information have the same application identifier and are target applications in active states, and are application a and application B, and since the message push priority of the second device is higher than that of the first device, the message push states of the application a and the application B in the first push state information are pause push states, and the message push states of the application a and the application B in the second push state information are pushable states. The first application in the first application state information is application C and application D, the second application in the second application state information is application D and application F, and the message display device may set the message push state according to the correspondence between the application state and the message push state.
And S208, the message display device sends second response information to the second equipment, and establishes an interconnection relationship with the second equipment.
Specifically, the message display apparatus may send second response information to the second device, which indicates that the interconnection request of the second device is granted, and establish an interconnection relationship with the second device. Meanwhile, the second response information also comprises second push state information and message push priority of the second device.
S209, the message display apparatus transmits the first update information to the first device.
Specifically, the message display device may send first update information to the first device, which is used to prompt the first device to refresh the interconnection relationship with the message display device, for example, may prompt the first device to check whether the first push state information exists, so as to change the message push mode in time. The first update information includes a first application push message and a message push priority of the first device.
Alternatively, the message push priority may be stored in a reserved field of the second response information and the first update information. The second response information and the first update information belong to messages which are mutually sent when the message display device and the message pushing device establish an interconnection relationship and when interaction is carried out after the interconnection relationship is established. For example, when the message display device and the message pushing device establish an interconnection relationship through bluetooth, a message sent by the message display device and the message pushing device through interaction is composed of a preamble, an access address, a protocol data unit (Protocol Data Unit, PDU) and a cyclic redundancy check (Cyclic redundancy check, CRC), wherein a reserved field which is not defined by the authorities exists in the PDU, the message display device can use the reserved field to save the message pushing priority, and the message pushing priority is sent on the basis that the message format of the message pushing device and the message display device in the interconnection relationship is kept unchanged and the standard protocol format in the interconnection relationship is not changed. Referring to fig. 5, an exemplary schematic diagram of message push priority preservation is provided for an embodiment of the present application, where a message is composed of a preamble, an access address, a PDU and a CRC, the PDU is composed of a header, a length of the PDU, and a data payload in the PDU, where the header is composed of a message type, a reserved field, a transmitting address, and a receiving address, and the length is composed of a payload length of the data payload and a reserved field, so that there are reserved fields with a length of two bits in the header and the length, and the message push priority may be preserved in the reserved field of the header or in the reserved field of the length. Since the reserved fields are two bits in length, the message push priority may be represented by 00 and 01, where the message push priority represented by 00 is higher than 01, for example, if the message push priority of the first device is higher than that of the second device, the message push priority stored in the reserved field in the first update information is 00, and the message push priority stored in the reserved field in the second response information is 01.
S210, the first device pushes application messages of all applications in the first device to a message display device for display based on the first push state information.
Specifically, after receiving the first push state information, the first device pushes application information to the message display device for display according to the message push state of each application in the first push state information, for example, the first device receives an application message from the application, if the message push state of the application is a push-able state, the application message is pushed to the message display device for display, and if the message push state of the application is a pause push state, the application message is not pushed to the message display device.
S211, the second device pushes application messages of all applications in the second device to the message display device for display based on the second push state information.
Specifically, the same as the first device, after receiving the second push state message, the second device pushes the application information to the display device for display according to the message push state of each application in the second push state message.
Optionally, if the pushing state information received by the message pushing device includes application identifiers and message pushing states of all applications in the message pushing device, the message pushing device may acquire a first active application in the pushing state information, where the message pushing state is a pushable state, and if an application message of the first active application is received, the message pushing state pushes the application message of the first active application to the message display device for display.
Optionally, the message pushing state may acquire a second active application whose application state is an active state from the application state message, and the message pushing device may receive an application message generated by the second active application.
Optionally, if the push state information received by the message pushing device only includes the application identifier of the target application and the message push state, that is, the first push state information only includes the application identifier of the target application and the first message push state, and the second push state information only includes the application identifier of the target application and the second message push state, the message pushing device may search whether the application identifier of the application exists in the push state information after receiving the application message of the application, and if so, the message pushing device pushes the application message of the application to the message display device according to the message push state of the application in the push state information; if the application state information does not exist, the message pushing device pushes application messages of the application to the message display device according to the application state of the application in the application state information.
Optionally, if the push state information received by the message pushing device only includes the application identifier and the message push state of the target application, the message pushing device may generate complete push state information including application messages and message push states of all applications according to the received push state information and application state information and a corresponding relationship between the application state and the message push state, and then the message pushing device may push the application messages of all applications to the message display device according to the complete push state information for display.
It may be understood that the application state information in the message pushing device may change, for example, when a user opens an application in the first device, the application state of the application may be changed from the inactive state to the active state, so that the first application state information also changes, so that the message display device needs to update the pushing state information according to the update of the application state information. If the message display device receives the first state update information of the first device, the first application state information is updated based on the first state update information to obtain updated first application state information, or if the message display device receives the second state update information of the second device, the second application state information is updated based on the second state update information to obtain updated second application state information, and then the step S204 is executed.
In the embodiment of the application, the first device and the second device respectively send the first application state information and the second application state information to the message display device, the message display device sets the message pushing state of the target application with the message pushing conflict in the first application state information and the second application state information according to the message pushing priority of the device application message, the first message pushing state and the second message pushing state are respectively obtained, the target application which causes the first device and the second device to repeatedly push the message is accurately confirmed, the first pushing state information and the second pushing state information are obtained according to the first message pushing state and the second message pushing state, the first pushing state information is sent to the first device, the second pushing state information is sent to the second device, and the first device and the second device push the application message of each application to the message display device according to the pushing state information for displaying. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced. The message display device stores the message push priority in a reserved field in the message, and the standard protocol format in the interconnection relationship is not changed while the message push priority is sent, so that the normal work in the interconnection relationship is ensured. Meanwhile, the message display device can update and resend the message pushing state to the first equipment and the second equipment according to the real-time update of the application state information in the first equipment and the second equipment, so that the real-time performance of message pushing is ensured, the using effect of message pushing is improved, and confusion and repetition of application message pushing of the first equipment and the second equipment are further avoided.
It will be appreciated that if any one of the first device and the second device is disconnected from the message display apparatus, the message display apparatus is only in interconnection with one device, and thus the problem of message confusion and repetition caused by connection of a plurality of devices to the message display apparatus does not occur. Referring to fig. 6, a flowchart of a method for sending update information of a message display apparatus is provided in an embodiment of the present application, and as shown in fig. 6, description is made from both sides of the message display apparatus and the second apparatus together by taking a disconnection interconnection relationship between the first apparatus and the message display apparatus as an example, where the method may include the following steps S301 to S303, and S301 to S303 may be executed before or after any one of S210 and S211.
S301, the message display device detects that the interconnection relation with the first device is disconnected.
Specifically, if the user performs the disconnection operation for the interconnection relationship in the first device, or performs the disconnection operation for the interconnection relationship with the first device in the message display apparatus, or the distance between the message display apparatus and the first device exceeds the maximum distance for maintaining the interconnection relationship, the message display apparatus detects that the first device and the message display apparatus are disconnected from each other.
S302, the message display device sends a second update request to the second device.
Specifically, when the message display device and the first device are disconnected from each other, the message display device only has an interconnection relationship with the second device, and the message display device may send a second update request to the second device, where the second update request is used to instruct the second device to delete the second push state information.
Optionally, if the message display device disconnects the interconnection relationship with the first device, but reestablishes the interconnection relationship within the preset time, the message display device does not send the second update request to the second device.
S303, the second device deletes the second push state information.
Specifically, after receiving the second update request, the second device deletes the stored second pushing state information, and according to the second application state information, the second device pushes the application message of each application to the message display device for display.
It will be appreciated that the first device may be in a disconnected relationship with the message display means or the second device may be in a disconnected relationship with the message display means. If the message display device detects that the interconnection relationship with the second device is disconnected, the message display device sends a third update request to the first device, wherein the third update request is used for indicating the first device to delete the first pushing state information, and the first device pushes the application message to the message display device according to the first application state information.
In the embodiment of the application, after the message display device detects that the interconnection relationship between the first equipment or the second equipment is disconnected, an update request is sent to the message pushing device still having the interconnection relationship, the message pushing device is instructed to delete the pushing state information, the message pushing device can push the application message according to the application state information, the memory of the message pushing device is prevented from being occupied, and the message pushing efficiency is improved. If the interconnection relation between the message display device and the message pushing device is reestablished within the preset time, the message display device does not send an update request, so that the message display device and the message pushing device are prevented from regenerating pushing state information due to misoperation, and the efficiency of message pushing is improved.
Referring to fig. 7, a flow diagram of a message push setting method is provided in an embodiment of the present application. As shown in fig. 7, the embodiment of the present application is described from the message display apparatus side, and the method may include the following steps S401 to S403.
S401, if there is an interconnection relation with the first device and an interconnection request of the second device is received, acquiring first application state information of the first device and second application state information of the second device.
Specifically, before receiving the interconnection request of the second device, the message display device has established an interconnection relationship with the first device, and if the interconnection request is to be established with the second device and the first device at the same time, the message pushing states applied in the first device and the second device need to be set, so that the situations of message pushing confusion, repetition and the like are avoided. The message display device may obtain first application state information of the first device and second application state information of the second device.
S402, setting message pushing states of all applications in the first application state information and the second application state information respectively based on message pushing priorities of device application messages to obtain the first pushing state information and the second pushing state information.
Specifically, the message display device may set message pushing priorities of the first device and the second device, and when the first device and the second device need to push application messages of the same application, a device with a higher message pushing priority may push application messages to the message display device, while a device with a lower message pushing priority does not push application messages to the message display device. The message display device may set the message push priority according to the time sequence of establishing the interconnection relationship, for example, the message push priority of the first device may be higher than the message push priority of the second device, or the message push priority may be preset in the message display device by the user. The message display device may set the message pushing state of each application in the first application state information and the second application state information based on the message pushing priority, so as to obtain the first pushing state information and the second pushing state information, for example, if the first device and the second device have the same target application with active application states, the message display device may set the message pushing state of the target application in the device with higher message pushing priority to be a pushable state, and set the message pushing state of the target application in the device with lower message pushing priority to be a pause pushing state, so as to achieve the purpose of avoiding confusion and repetition of message pushing in the first device and the second device.
S403, the first push state information is sent to the first device, and the second push state information is sent to the second device.
Specifically, the message display device sends the first push state information to the first device, and the message display device sends the second push state information to the second device. The first pushing state information and the second pushing state information are respectively used for indicating the first equipment and the second equipment to push application messages of all applications to the message display device for display. After receiving the first push state information, the first device pushes application information to the message display device for display according to the message push state of each application in the first push state information, for example, the first device receives application messages from the applications, if the message push state of the applications is a push-able state, the application messages are pushed to the message display device for display, and if the message push state of the applications is a pause push state, the application messages are not pushed to the message display device. And after receiving the second pushing state information, the second equipment pushes the application information to the display device for display according to the message pushing state of each application in the second pushing state information.
In the embodiment of the application, if an interconnection relationship exists between the first device and the second device and an interconnection request of the second device is received, first application state information of the first device and second application state information of the second device are acquired, message pushing states of all applications in the first application state information and the second application state information are respectively set based on message pushing priority of device application messages, first pushing state information and second pushing state information are acquired, the first pushing state information is sent to the first device, and the second pushing state information is sent to the second device. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced.
Referring to fig. 8, a flow diagram of a message push setting method is provided in an embodiment of the present application. As shown in fig. 8, the embodiment of the present application is described from the message display apparatus side, and the method may include the following steps S501 to S510.
S501, a first interconnection request sent by a first device is received, first response information corresponding to the first interconnection request is sent to the first device, and an interconnection relationship is established with the first device.
Specifically, the first device may start the interconnection device search function, search for a message display device that can establish an interconnection relationship in a search range of the first device, and if the message display device is found, the first device may send a first interconnection request to the message display device, where the first interconnection request is used to request to establish an interconnection relationship with the message display device, and the first interconnection request may include first application state information of the first device. After receiving the first interconnection request of the first device, if the user agrees to establish an interconnection relationship with the first device, the message display device sends first response information to the first device, which indicates that the interconnection request of the first device is agreed, and establishes an interconnection relationship with the first device. After the first device establishes an interconnection relationship with the message display device, the first device can push the application message received from the application to the message display device for display.
S502, receiving a second interconnection request sent by the second device.
Specifically, similar to the first device, the second device may also send a second interconnection request to the message display apparatus, where the request establishes an interconnection relationship with the message display apparatus, and the second interconnection request may include second application state information of the second device.
S503, determining message pushing priorities of the first device and the second device.
Specifically, before receiving the second interconnection request of the second device, the message display device has established an interconnection relationship with the first device, and if the interconnection request is to be established with the second device and the first device at the same time, the message pushing states applied in the first device and the second device need to be set, so that the situations of message pushing confusion, repetition and the like are avoided. The message display device may obtain the first application state information of the first device from the first interconnection request, and obtain the second application state information of the second device from the second interconnection request. Then the message display device may set message pushing priorities of the first device and the second device, when the first device and the second device need to push application messages of the same application, the device with higher message pushing priority may push application messages to the message display device, and the device with lower message pushing priority does not push application messages to the message display device.
The method for determining the message push priority of the first device and the second device by the message display device includes, but is not limited to, the following two methods:
The method comprises the following steps: the message display device may determine the message push priority according to the time of establishing the interconnection relationship, for example, the message push priority of the device that establishes the interconnection relationship with the message display device first is higher than the message push priority of the device that establishes the interconnection relationship with the message display device later, and the first device establishes the interconnection relationship with the message display device first before the second device, so that the message push priority of the first device is higher than the second device.
The second method is as follows: the user can build a priority list in the message display device in advance, wherein the priority list comprises the equipment identifiers of the equipment and the corresponding message pushing priority, and the equipment identifiers can be equipment serial numbers and the like. The message display apparatus may find the message push priority of the first device in the priority list according to the device identifier of the first device, and find the message push priority of the second device in the priority list according to the device identifier of the second device, for example, if the message push priority of the second device in the priority list established by the user is higher than the first device, the message display apparatus determines that the message push priority of the second device is higher than the first device. If the device identifier of any one of the first device and the second device does not exist in the priority list, the message display device determines that the message push priority of the device corresponding to the device identifier which does not exist in the priority list is lowest, for example, if the device identifier of the first device does not exist in the priority list and the device identifier of the second device exists in the priority list, the message push priority of the first device is lower than that of the second device.
S504, acquiring target applications with the same application identification and active application states from the first application state information and the second application state information.
Specifically, the message display device may acquire the target application whose application identifier is the same and whose application states are both active in the first application state information and the second application state information. Because when the target application generates the application message, the first device and the second device push the application message of the target application to the message display device because the application states of the target application in the first device and the second device are both active, and problems such as confusion and repetition of application message pushing occur, so that the message display device sets different message pushing states for the target application in the first device and the second device.
S505, setting a first message pushing state for a target application in the first application state information and setting a second message pushing state for the target application in the second application state information based on the message pushing priority.
Specifically, the message display device sets a first message pushing state for the target application in the first application state information and sets a second message pushing state for the target application in the second application state information according to the message pushing priorities of the first device and the second device, and it can be understood that the first message pushing state is different from the second message pushing state, that is, in the first device and the second device, the device with the higher message pushing priority can only push the application message of the target application to the message display device.
Optionally, if the message pushing priority of the first device is higher than that of the second device, the message display device sets the message pushing state of the target application in the second application state information to a pause pushing state to obtain a second message pushing state, and sets the message pushing state of the target application in the first application state information to a pushable state to obtain a first message pushing state; if the message pushing priority of the second device is higher than that of the first device, the message display device sets the message pushing state of the target application in the first application state information to be in a pause pushing state to obtain a first message pushing state, and sets the message pushing state of the target application in the second application state message to be in a pushing state to obtain a second message pushing state.
S506, generating first push state information based on the first application state information and the first message push state, and generating second push state information based on the second application state information and the second message push state.
Specifically, the message display device may generate first push state information according to an application identifier of the target application in the first application state information, where the first push state information corresponds to a first message push state of the target application; and generating second pushing state information according to the application identifier of the target application in the second application state information and corresponding to the second message pushing state of the target application.
Alternatively, the message display device may send only the push state information including the message push state of the target application to the first device and the second device, or may send the push state information including the message push states of all the applications to the first device and the second device.
The message display device may acquire a first application except the target application in the first application state information, and acquire a second application except the target application in the second application state information, and since the first device and the second device do not collide on pushing of application messages of the first application and application messages of the second application, message pushing states of the first application and the second application are irrelevant to message pushing priorities of the first device and the second device. The message display device may set a third message push state for the first application in the first application state information and set a fourth message push state for the second application in the second application state information according to the correspondence between the application state and the message push state. Then, the application identifier of the target application in the first application state information corresponds to a first message pushing state, and the application identifier of the first application corresponds to a third message pushing state, so that first pushing state information is generated; and the application identifier of the target application in the second application state information corresponds to the second message pushing state, and the application identifier of the second application corresponds to the fourth message pushing state, so that second pushing state information is generated.
The corresponding relation between the application state and the message pushing state is as follows: if the application state of any one of the first application and the second application is an active state, the message display device sets the message pushing state of any one application to be a push-able state; if the application state of any application is inactive, the message display device sets the message push state of any application to a pause push state.
S507, sending second response information to the second equipment, and establishing interconnection relation with the second equipment.
Specifically, the message display apparatus may send second response information to the second device, which indicates that the interconnection request of the second device is granted, and establish an interconnection relationship with the second device. Meanwhile, the second response information also comprises second push state information and message push priority of the second device. After receiving the second push state information, the second device pushes the application information to the display device for display according to the message push state of each application in the second push state information.
S508, the first update information is sent to the first device.
Specifically, the message display device may send first update information to the first device, which is used to prompt the first device to refresh the interconnection relationship with the message display device, for example, may prompt the first device to check whether the first push state information exists, so as to change the message push mode in time. The first update information includes a first application push message and a message push priority of the first device. After receiving the first push state information, the first device pushes application information to the message display device for display according to the message push state of each application in the first push state information, for example, the first device receives application messages from the applications, if the message push state of the applications is a push-able state, the application messages are pushed to the message display device for display, and if the message push state of the applications is a pause push state, the application messages are not pushed to the message display device.
Alternatively, the message push priority may be stored in a reserved field of the second response information and the first update information. The second response information and the first update information belong to messages which are mutually sent when the message display device and the message pushing device establish an interconnection relationship and when interaction is carried out after the interconnection relationship is established. For example, when the message display device and the message pushing device establish an interconnection relationship through bluetooth, a message sent by the message display device and the message pushing device through interaction is composed of a preamble, an access address, a protocol data unit (Protocol Data Unit, PDU) and a cyclic redundancy check (Cyclic redundancy check, CRC), wherein a reserved field which is not defined by the authorities exists in the PDU, the message display device can use the reserved field to save the message pushing priority, and the message pushing priority is sent on the basis that the message format of the message pushing device and the message display device in the interconnection relationship is kept unchanged and the standard protocol format in the interconnection relationship is not changed.
Optionally, if the push state information received by the message pushing device only includes the application identifier and the message push state of the target application, the message pushing device may generate complete push state information including application messages and message push states of all applications according to the received push state information and application state information and a corresponding relationship between the application state and the message push state, and then the message pushing device may push the application messages of all applications to the message display device according to the complete push state information for display.
And S509, if the first state updating information of the first device is received, updating the first application state information based on the first state updating information to obtain updated first application state information.
Specifically, the first application state information of the first device is changed, for example, when a user opens an application in the first device, the application state of the application is changed from an inactive state to an active state, so that the first application state information is also changed, and therefore the message display device needs to update the first push state information according to the update of the first application state information. If the message display device receives the first state update information of the first device, the first application state information is updated based on the first state update information to obtain updated first application state information, and then the step of S504 is performed.
And S510, if second state update information of the second device is received, updating the second application state information based on the second state update information to obtain updated second application state information.
Specifically, the second application state information of the second device is also changed, the message display device needs to update the second push state information according to the update of the second application state information, if the message display device receives the second state update information of the second device, the second application state information is updated based on the second state update information to obtain updated second application state information, and then the step of S504 is executed.
It will be appreciated that if any one of the first device and the second device is disconnected from the message display apparatus, the message display apparatus is only in interconnection with one device, and thus the problem of message confusion and repetition caused by connection of a plurality of devices to the message display apparatus does not occur. If the message display device breaks the interconnection relation with the first equipment, second update information is sent to second equipment, and the second update information indicates the second equipment to delete the second push state information; or if the message display device disconnects the interconnection relationship with the second device, third update information is sent to the first device, and the third update information indicates the first device to delete the first push state information. If the message display device and the first device are in a disconnected interconnection relationship, but the interconnection relationship is reestablished within a preset time, the message display device will not send a second update request to the second device, and similarly, if the message display device and the second device are in a disconnected interconnection relationship, but the interconnection relationship is reestablished within the preset time, the message display device will not send a third update request to the first device.
In the embodiment of the application, the first device and the second device respectively send the first application state information and the second application state information to the message display device, the message display device sets the message pushing state of the target application with the message pushing conflict in the first application state information and the second application state information according to the message pushing priority of the device application message, the first message pushing state and the second message pushing state are respectively obtained, the target application which causes the first device and the second device to repeatedly push the message is accurately confirmed, the first pushing state information and the second pushing state information are obtained according to the first message pushing state and the second message pushing state, the first pushing state information is sent to the first device, the second pushing state information is sent to the second device, and the first device and the second device push the application message of each application to the message display device according to the pushing state information for displaying. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced. The message display device stores the message push priority in a reserved field in the message, and the standard protocol format in the interconnection relationship is not changed while the message push priority is sent, so that the normal work in the interconnection relationship is ensured. Meanwhile, the message display device can update and resend the message pushing state to the first equipment and the second equipment according to the real-time update of the application state information in the first equipment and the second equipment, so that the real-time performance of message pushing is ensured, the using effect of message pushing is improved, and confusion and repetition of application message pushing of the first equipment and the second equipment are further avoided. After the message display device detects that the interconnection relationship between the message display device and the first equipment or the second equipment is disconnected, an update request is sent to the message pushing device still having the interconnection relationship, the message pushing device is instructed to delete pushing state information, the message pushing device can push application messages according to the application state information, the memory of the message pushing device is prevented from being occupied, and the efficiency of message pushing is improved. If the interconnection relation between the message display device and the message pushing device is reestablished within the preset time, the message display device does not send an update request, so that the message display device and the message pushing device are prevented from regenerating pushing state information due to misoperation, and the efficiency of message pushing is improved.
Referring to fig. 9, a flow diagram of a message push setting method is provided in an embodiment of the present application. As shown in fig. 9, the embodiment of the present application is described from the message pushing device side, and the method may include the following steps S601-S603.
S601, application state information is transmitted to the message display device.
Specifically, the message pushing device may start the search function of the interconnection device, search for a message display device that can establish an interconnection relationship within a search range of the message pushing device, and if the message display device is found, the message pushing device may send an interconnection request to the message display device, where the interconnection request is used to establish an interconnection relationship with the message display device, and the interconnection request may include application state information of the message pushing device.
S602, push state information sent by a message display device is received.
Specifically, if the message display device has established an interconnection relationship with other message pushing devices before receiving an interconnection request of the message display device, if the message display device wants to establish an interconnection request with two message pushing devices at the same time, a message pushing state applied in the message display device needs to be set, so that conditions such as message pushing confusion, repetition and the like are avoided. The push state information is obtained by setting the application state based on the message push priority of the device application message.
And S603, pushing application messages of all applications in the message pushing device to the message display device for display based on the pushing state information.
Specifically, after receiving the pushing state information, the message pushing device pushes the application information to the message display device for display according to the message pushing state of each application in the pushing state information, for example, when the application message is received from the application, if the message pushing state of the application is in a pushing state, the application message is pushed to the message display device for display, and if the message pushing state of the application is in a suspending pushing state, the application message is not pushed to the message display device.
In the embodiment of the application, the message pushing device sends application state information to the message display device, receives the pushing state information sent by the message display device, and pushes application messages of all applications in the message pushing device to the message display device for display based on the pushing state information. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced.
Referring to fig. 10, a flow diagram of a message push setting method is provided in an embodiment of the present application. As shown in fig. 10, the embodiment of the present application is described from the message pushing device side, and the method may include the following steps S701-S705.
S701, application state information is transmitted to the message display device.
Specifically, the message pushing device may start the search function of the interconnection device, search for a message display device that can establish an interconnection relationship within a search range of the message pushing device, and if the message display device is found, the message pushing device may send an interconnection request to the message display device, where the interconnection request is used to establish an interconnection relationship with the message display device, and the interconnection request may include application state information of the message pushing device.
S702, receiving response information sent by the message display device, establishing an interconnection relationship with the message display device, or receiving first update information sent by the message display device.
Specifically, if the message display device has established an interconnection relationship with other message pushing devices before receiving an interconnection request of the message display device, if the message display device wants to establish an interconnection request with two message pushing devices at the same time, a message pushing state applied in the message display device needs to be set, so that conditions such as message pushing confusion, repetition and the like are avoided. The push state information is obtained by setting the application state based on the message push priority of the device application message. The message pushing device can receive response information sent by the message display device, wherein the response information comprises pushing state information and establishes interconnection relation with the message display device.
If the message pushing device has established an interconnection relationship with the message display device and the message pushing device receives interconnection requests of other message pushing states, the message pushing device receives first update information, and the first update information contains pushing state information.
S703, acquiring a first active application in which the message pushing state is a pushing state in the pushing state information, and pushing an application message of the first active application to a message display device for display.
Specifically, if the pushing state information received by the message pushing device includes application identifiers and message pushing states of all applications in the message pushing device, the message pushing device may acquire a first active application in the pushing state information, where the message pushing state is a pushable state, and if an application message of the first active application is received, the message pushing state pushes the application message of the first active application to the message display device for display.
Optionally, the message pushing state may acquire a second active application whose application state is an active state from the application state message, and the message pushing device may receive an application message generated by the second active application.
Optionally, if the push state information received by the message pushing device only includes the application identifier of the target application and the message push state, that is, the first push state information only includes the application identifier of the target application and the first message push state, and the second push state information only includes the application identifier of the target application and the second message push state, the message pushing device may search whether the application identifier of the application exists in the push state information after receiving the application message of the application, and if so, the message pushing device pushes the application message of the application to the message display device according to the message push state of the application in the push state information; if the application state information does not exist, the message pushing device pushes application messages of the application to the message display device according to the application state of the application in the application state information.
Optionally, if the push state information received by the message pushing device only includes the application identifier and the message push state of the target application, the message pushing device may generate complete push state information including application messages and message push states of all applications according to the received push state information and application state information and a corresponding relationship between the application state and the message push state, and then the message pushing device may push the application messages of all applications to the message display device according to the complete push state information for display.
S704, if it is detected that the application state information has been changed, the state update information is generated.
Specifically, the application state information in the message pushing device is changed, for example, when a user opens an application in the message pushing device, the application state of the application is changed from an inactive state to an active state, so that the application state information is also changed, and therefore the message display device needs to update the pushing state information according to the update of the application state information. If the message pushing device detects that the application state information is changed, state update information is generated.
S705, the status update information is transmitted to the message display device.
Specifically, the message pushing device sends the status update information to the message display device, and executes S701, where the status update information is used to indicate updating of the application status information in the message display device.
Optionally, if any one of the first device and the second device has a connection relationship with the message display device, the message display device has a connection relationship with only one message push device, so that the problem of message confusion and repetition caused by connection of a plurality of devices with the message display device can be avoided. And if the message display device detects that the interconnection relation between the message display device and the other message display device is disconnected, the message display device sends second update information to the message pushing device. And if the message pushing device receives the second updating information sent by the message display device, deleting the pushing state information.
In the embodiment of the application, the message pushing device sends application state information to the message display device, receives response information sent by the message display device, and establishes an interconnection relation with the message display device, or receives first update information sent by the message display device, acquires a first active application in which the message pushing state is a pushing state in the pushing state information, and pushes application messages of the first active application to the message display device for display. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced. If the application state information is detected to be changed, generating state update information, and sending the state update information to the message display device, so that the real-time performance of message pushing is ensured, the using effect of message pushing is improved, and confusion and repetition of application message pushing of the first equipment and the second equipment are further avoided. And deleting the pushing state information after receiving the second updating information, pushing the application message according to the application state information, avoiding occupying the memory of the message pushing device, and improving the efficiency of message pushing.
The message display apparatus according to the embodiment of the present application will be described in detail with reference to fig. 11 to 12. It should be noted that, the message display apparatus in fig. 11 to fig. 12 is used to execute the method of the embodiment of fig. 7 to fig. 8, and for convenience of explanation, only the portion relevant to the embodiment of the present application is shown, and specific technical details are not disclosed, please refer to the embodiment of fig. 7 to fig. 8 of the present application.
Referring to fig. 11, a schematic diagram of a message display apparatus according to an exemplary embodiment of the present application is shown. The message display device may be implemented as all or part of the device by software, hardware, or a combination of both. The device 1 comprises a status information acquisition module 11, a push status setting module 12 and a push status sending module 13.
The state information obtaining module 11 is configured to obtain first application state information of a first device and second application state information of a second device if there is an interconnection relationship with the first device and an interconnection request of the second device is received;
The push state setting module 12 is configured to set a message push state of each application in the first application state information and the second application state information based on a message push priority of an application message of the device, so as to obtain first push state information and second push state information;
a push state sending module 13, configured to send the first push state information to the first device, and send the second push state information to the second device;
The first pushing state information and the second pushing state information are respectively used for indicating the first equipment and the second equipment to push the application messages of the applications to the message display device for display.
In this embodiment, if there is an interconnection relationship with the first device and an interconnection request of the second device is received, first application state information of the first device and second application state information of the second device are obtained, message push states of applications in the first application state information and the second application state information are set based on message push priorities of device application messages, first push state information and second push state information are obtained, the first push state information is sent to the first device, and the second push state information is sent to the second device. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced.
Referring to fig. 13, a schematic diagram of a message display apparatus according to an exemplary embodiment of the present application is shown. The message display device may be implemented as all or part of the device by software, hardware, or a combination of both. The device 1 comprises a status information acquisition module 11, a push status setting module 12, a push status sending module 13, an interconnection relation disconnection module 14 and an update information sending module 15.
The state information obtaining module 11 is configured to obtain first application state information of a first device and second application state information of a second device if there is an interconnection relationship with the first device and an interconnection request of the second device is received;
Optionally, the state information obtaining module 11 is specifically configured to receive a first interconnection request sent by a first device, send first response information corresponding to the first interconnection request to the first device, and establish an interconnection relationship with the first device, where the first interconnection request includes first application state information of the first device;
and receiving a second interconnection request sent by second equipment, wherein the second interconnection request comprises second application state information of the second equipment.
The push state setting module 12 is configured to set a message push state of each application in the first application state information and the second application state information based on a message push priority of an application message of the device, so as to obtain first push state information and second push state information;
optionally, the push state setting module 12 is specifically configured to determine message push priorities of the first device and the second device;
Acquiring target applications with the same application identifier and active application states from the first application state information and the second application state information;
Setting a first message pushing state for the target application in the first application state information and setting a second message pushing state for the target application in the second application state information based on the message pushing priority;
Generating first pushing state information based on the first application state information and the first message pushing state, and generating second pushing state information based on the second application state information and the second message pushing state.
Optionally, the push state setting module 12 is specifically configured to set, if the message push priority of the first device is higher than that of the second device, the message push state of the target application in the second application state information to be a pause push state, to obtain a second message push state, and set, in the first application state information, the message push state of the target application to be a pushable state, to obtain a first message push state;
if the message pushing priority of the second device is higher than that of the first device, setting the message pushing state of the target application in the first application state information to be a pause pushing state to obtain a first message pushing state, and setting the message pushing state of the target application in the second application state message to be a pushable state to obtain a second message pushing state.
Optionally, the push state setting module 12 is specifically configured to obtain a first application except the target application in the first application state information, and obtain a second application except the target application in the second application state information;
Setting a third message pushing state for the first application in the first application state information and setting a fourth message pushing state for the second application in the second application state information based on the corresponding relation between the application state and the message pushing state;
Generating first pushing state information based on the first application state information, the first message pushing state and the third message pushing state, and generating second pushing state information based on the second application state information, the second message pushing state and the fourth message pushing state.
Optionally, the correspondence between the application state and the message pushing state is:
if the application state of any one of the first application and the second application is an active state, the message pushing state of any one application is a pushable state;
And if the application state of any application is an inactive state, the message pushing state of any application is a pause pushing state.
A push state sending module 13, configured to send the first push state information to the first device, and send the second push state information to the second device;
The first pushing state information and the second pushing state information are respectively used for indicating the first equipment and the second equipment to push the application messages of the applications to the message display device for display.
Optionally, the push state sending module 13 is specifically configured to send second response information to the second device, and establish an interconnection relationship with the second device, where the second response information includes the second push state information and a message push priority of the second device;
Sending first update information to the first device, wherein the first update information comprises the first application push message and the message push priority of the first device;
optionally, the message push priority is stored in a reserved field of the second response information and the first update information.
An interconnection relationship disconnection module 14, configured to send second update information to the second device if the interconnection relationship with the first device is disconnected, where the second update information indicates that the second device deletes the second push state information;
And if the interconnection relation with the second device is disconnected, third updating information is sent to the first device, and the third updating information indicates the first device to delete the first pushing state information.
The update information sending module 15 is configured to update the first application state information based on the first state update information if first state update information of the first device is received, so as to obtain updated first application state information;
if second state update information of the second device is received, updating the second application state information based on the second state update information to obtain updated second application state information;
And executing the message pushing priority based on the device application message, and respectively setting message pushing states of all applications in the first application state information and the second application state information to obtain first pushing state information and second pushing state information.
In this embodiment, the first device and the second device send the first application state information and the second application state information to the message display device, the message display device sets the message pushing state of the target application with the message pushing conflict in the first application state information and the second application state information according to the message pushing priority of the device application message, the first message pushing state and the second message pushing state are obtained respectively, the target application which causes the first device and the second device to repeatedly push the message is accurately confirmed, the first pushing state information and the second pushing state information are obtained according to the first message pushing state and the second message pushing state, the first pushing state information is sent to the first device, the second pushing state information is sent to the second device, and the first device and the second device push the application messages of the applications to the message display device according to the pushing state information for displaying. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced. The message display device stores the message push priority in a reserved field in the message, and the standard protocol format in the interconnection relationship is not changed while the message push priority is sent, so that the normal work in the interconnection relationship is ensured. Meanwhile, the message display device can update and resend the message pushing state to the first equipment and the second equipment according to the real-time update of the application state information in the first equipment and the second equipment, so that the real-time performance of message pushing is ensured, the using effect of message pushing is improved, and confusion and repetition of application message pushing of the first equipment and the second equipment are further avoided. After the message display device detects that the interconnection relationship between the message display device and the first equipment or the second equipment is disconnected, an update request is sent to the message pushing device still having the interconnection relationship, the message pushing device is instructed to delete pushing state information, the message pushing device can push application messages according to the application state information, the memory of the message pushing device is prevented from being occupied, and the efficiency of message pushing is improved. If the interconnection relation between the message display device and the message pushing device is reestablished within the preset time, the message display device does not send an update request, so that the message display device and the message pushing device are prevented from regenerating pushing state information due to misoperation, and the efficiency of message pushing is improved.
Referring to fig. 13, a block diagram of an electronic device according to an exemplary embodiment of the present application is shown. The electronic device of the present application may include one or more of the following components: processor 110, memory 120, input device 130, output device 140, and bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 utilizes various interfaces and lines to connect various portions of the overall electronic device, perform various functions of the electronic device 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-programmable gate array (FPGA), programmable logic array (programmable logic Array, PLA). The processor 110 may integrate one or a combination of several of a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip.
The memory 120 may include a random access memory (random Access Memory, RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, which may be an Android (Android) system, including an Android system-based deep development system, an IOS system developed by apple corporation, including an IOS system-based deep development system, or other systems, 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. The storage data area may also store data created by the electronic device in use, such as phonebooks, audiovisual data, chat log data, and the like.
Referring to FIG. 14, the memory 120 may be divided into an operating system space in which the operating system is running and a user space in which native and third party applications are running. In order to ensure that different third party application programs can achieve better operation effects, 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, under the local resource loading scenario, the third party application program has higher requirement on the disk reading speed; in the animation rendering scene, the third party application program has higher requirements on the GPU performance. The operating system and the third party application program are mutually independent, and the operating system often cannot timely sense the current application scene of the third party application program, 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 specific application scenes of the third-party application program, data communication between the third-party application program and the operating system needs to be communicated, so that the operating system can acquire current scene information of the third-party application program at any time, and targeted system resource adaptation is performed based on the current scene.
Taking an operating system as an Android system as an example, as shown in fig. 15, a program and data stored in the memory 120 may be stored in the memory 120 with a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, 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 the underlying drivers for various hardware of the electronic device, such as display drivers, audio drivers, camera drivers, bluetooth drivers, wi-Fi drivers, power management, and the like. The system runtime library layer 340 provides the main feature support for the Android system through some C/c++ libraries. For example, the SQLite library provides support for databases, the OpenGL/ES library provides support for 3D graphics, the Webkit library provides support for browser kernels, and the like. Also provided in the system runtime library layer 340 is An Zhuoyun runtime library (Android runtime), which primarily 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 applications, which developers can also build their own applications by using, for example, campaign management, window management, view management, notification management, content provider, package management, call management, resource management, location management. At least one application program is running in the application layer 380, and these application programs may be native application programs of the operating system, such as a contact program, a short message program, a clock program, a camera application, etc.; and can also be a third party application program developed by a third party developer, such as a game application program, an instant messaging program, a photo beautification program, a message push setting program and the like.
Taking an operating system as an IOS system as an example, the programs and data stored in the memory 120 are shown in fig. 16, the IOS system includes: core operating system layer 420 (Core OS layer), core services layer 440 (Core SERVICES LAYER), media layer 460 (MEDIA LAYER), and touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by the program frameworks at the core services layer 440. The core services layer 440 provides system services and/or program frameworks required by the application, 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 sports framework, and the like. The media layer 460 provides an interface for applications related to audiovisual aspects, such as a graphics-image related interface, an audio technology related interface, a video technology related interface, an audio video transmission technology wireless play (AirPlay) interface, and so forth. The touchable layer 480 provides various commonly used interface-related frameworks for application development, with the touchable layer 480 being responsible for user touch interactions on the electronic device. Such as a local notification service, a remote push service, an advertisement framework, a game tool framework, a message User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
Among the frameworks illustrated in fig. 16, frameworks related to most applications include, but are not limited to: a base framework in core services layer 440 and UIKit frameworks in touchable layer 480. The infrastructure provides many basic object classes and data types, providing the most basic system services for all applications, independent of the UI. While the class provided by the UIKit framework is a base UI class library for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides the application's infrastructure for building user interfaces, drawing, handling and user interaction events, responding to gestures, and so on.
The manner and principle of implementing data communication between the third party application program and the operating system in the IOS system can refer to the Android system, and the application is not described herein.
The input device 130 is configured to receive input instructions 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 to output 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 a touch display screen for receiving a touch operation thereon or thereabout by a user using a finger, a touch pen, or any other suitable object, and displaying a user interface of each application program. Touch display screens 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 contoured screen. The touch display screen may also be designed as a combination of a full screen and a curved screen, and the combination of a special-shaped screen and a curved screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configuration of the electronic device shown in the above-described figures does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, the electronic device further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WIRELESS FIDELITY, wiFi) module, a power supply, and a bluetooth module, which are not described herein.
In the embodiment of the present application, 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 other operating systems, which is not limited by the embodiments of the present application.
The electronic device of the embodiment of the application can be further provided with a display device, and the display device can be various devices capable of realizing display functions, such as: cathode ray tube displays (cathode ray tubedisplay, CR), light-emitting diode displays (light-emitting diode display, LED), electronic ink screens, liquid Crystal Displays (LCD), plasma display panels (PLASMA DISPLAY PANEL, PDP), and the like. A user may utilize a display device on electronic device 101 to view displayed text, images, video, etc. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality ) device, an automobile, a data storage, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, etc.
In the electronic device shown in fig. 13, the processor 110 may be configured to invoke the message push setting application stored in the memory 120, and specifically perform the following operations:
If an interconnection relation exists between the first device and the second device and an interconnection request of the second device is received, acquiring first application state information of the first device and second application state information of the second device;
Based on the message pushing priority of the device application message, respectively setting the message pushing state of each application in the first application state information and the second application state information to obtain first pushing state information and second pushing state information;
transmitting the first push state information to the first device, and transmitting the second push state information to the second device;
The first pushing state information and the second pushing state information are respectively used for indicating the first equipment and the second equipment to push the application messages of the applications to the message display device for display.
In one embodiment, when the processor 110 performs the following steps when the interconnection relationship exists between the processor and the first device and the interconnection request of the second device is received, the first application state information of the first device and the second application state information of the second device are obtained:
Receiving a first interconnection request sent by first equipment, sending first response information corresponding to the first interconnection request to the first equipment, and establishing an interconnection relation with the first equipment, wherein the first interconnection request comprises first application state information of the first equipment;
and receiving a second interconnection request sent by second equipment, wherein the second interconnection request comprises second application state information of the second equipment.
In one embodiment, when executing the message pushing priority based on the device application message, the processor 110 sets the message pushing state of each application in the first application state information and the second application state information, to obtain the first pushing state information and the second pushing state information, specifically executes the following steps:
Determining message push priorities of the first device and the second device;
Acquiring target applications with the same application identifier and active application states from the first application state information and the second application state information;
Setting a first message pushing state for the target application in the first application state information and setting a second message pushing state for the target application in the second application state information based on the message pushing priority;
Generating first pushing state information based on the first application state information and the first message pushing state, and generating second pushing state information based on the second application state information and the second message pushing state.
In one embodiment, the processor 110 specifically performs the following steps when executing the setting of the first message pushing state of the target application in the first application state information and the setting of the second message pushing state of the target application in the second application state information:
If the message pushing priority of the first device is higher than that of the second device, setting the message pushing state of the target application in the second application state information to be a pause pushing state to obtain a second message pushing state, and setting the message pushing state of the target application in the first application state information to be a pushable state to obtain a first message pushing state;
if the message pushing priority of the second device is higher than that of the first device, setting the message pushing state of the target application in the first application state information to be a pause pushing state to obtain a first message pushing state, and setting the message pushing state of the target application in the second application state message to be a pushable state to obtain a second message pushing state.
In one embodiment, the processor 110 specifically performs the following steps when performing setting a first message push state for the target application in the first application state information and setting a second message push state for the target application in the second application state information based on the message push priority:
Acquiring a first application except the target application in the first application state information, and acquiring a second application except the target application in the second application state information;
Setting a third message pushing state for the first application in the first application state information and setting a fourth message pushing state for the second application in the second application state information based on the corresponding relation between the application state and the message pushing state;
Generating first pushing state information based on the first application state information, the first message pushing state and the third message pushing state, and generating second pushing state information based on the second application state information, the second message pushing state and the fourth message pushing state.
In one embodiment, when the processor 110 executes the message push setting method, the correspondence between the application state and the message push state is:
if the application state of any one of the first application and the second application is an active state, the message pushing state of any one application is a pushable state;
And if the application state of any application is an inactive state, the message pushing state of any application is a pause pushing state.
In one embodiment, the processor 110 specifically performs the following steps when performing the sending of the first push state information to the first device and the sending of the second push state information to the second device:
sending second response information to the second device, and establishing an interconnection relation with the second device, wherein the second response information comprises the second push state information and the message push priority of the second device;
And sending first update information to the first device, wherein the first update information comprises the first application push message and the message push priority of the first device.
In one embodiment, the processor 110, when executing the message push setting method, stores the message push priority in reserved fields of the second response information and the first update information.
In one embodiment, the processor 110, when executing the message push setting method, further performs the following steps:
If the interconnection relation with the first equipment is disconnected, second updating information is sent to the second equipment, and the second updating information indicates the second equipment to delete the second pushing state information;
And if the interconnection relation with the second device is disconnected, third updating information is sent to the first device, and the third updating information indicates the first device to delete the first pushing state information.
In one embodiment, the processor 110, when executing the message push setting method, further performs the following steps:
If first state update information of the first device is received, updating the first application state information based on the first state update information to obtain updated first application state information;
if second state update information of the second device is received, updating the second application state information based on the second state update information to obtain updated second application state information;
And executing the message pushing priority based on the device application message, and respectively setting message pushing states of all applications in the first application state information and the second application state information to obtain first pushing state information and second pushing state information.
In the embodiment of the application, the first device and the second device respectively send the first application state information and the second application state information to the message display device, the message display device sets the message pushing state of the target application with the message pushing conflict in the first application state information and the second application state information according to the message pushing priority of the device application message, the first message pushing state and the second message pushing state are respectively obtained, the target application which causes the first device and the second device to repeatedly push the message is accurately confirmed, the first pushing state information and the second pushing state information are obtained according to the first message pushing state and the second message pushing state, the first pushing state information is sent to the first device, the second pushing state information is sent to the second device, and the first device and the second device push the application message of each application to the message display device according to the pushing state information for displaying. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced. The message display device stores the message push priority in a reserved field in the message, and the standard protocol format in the interconnection relationship is not changed while the message push priority is sent, so that the normal work in the interconnection relationship is ensured. Meanwhile, the message display device can update and resend the message pushing state to the first equipment and the second equipment according to the real-time update of the application state information in the first equipment and the second equipment, so that the real-time performance of message pushing is ensured, the using effect of message pushing is improved, and confusion and repetition of application message pushing of the first equipment and the second equipment are further avoided. After the message display device detects that the interconnection relationship between the message display device and the first equipment or the second equipment is disconnected, an update request is sent to the message pushing device still having the interconnection relationship, the message pushing device is instructed to delete pushing state information, the message pushing device can push application messages according to the application state information, the memory of the message pushing device is prevented from being occupied, and the efficiency of message pushing is improved. If the interconnection relation between the message display device and the message pushing device is reestablished within the preset time, the message display device does not send an update request, so that the message display device and the message pushing device are prevented from regenerating pushing state information due to misoperation, and the efficiency of message pushing is improved.
The message pushing device provided in the embodiment of the present application will be described in detail with reference to fig. 17 to fig. 18. It should be noted that, the message pushing device in fig. 17 to fig. 18 is used to execute the method of the embodiment of fig. 9 to fig. 10 of the present application, for convenience of explanation, only the portion relevant to the embodiment of the present application is shown, and specific technical details are not disclosed, please refer to the embodiment of fig. 9 to fig. 10 of the present application.
Referring to fig. 17, a schematic structural diagram of a message pushing device according to an exemplary embodiment of the present application is shown. The message pushing device may be implemented as all or part of the device by software, hardware, or a combination of both. The device 2 comprises a status information sending module 21, a push status receiving module 22 and a message push module 23.
A status information transmitting module 21 for transmitting application status information to the message display device;
a push state receiving module 22, configured to receive push state information sent by the message display apparatus, where the push state information is based on a message push priority of an application message of a device, and is obtained by setting the application state;
And the message pushing module 23 is configured to push application messages of applications in the message pushing device to the message display device for display based on the push status information.
In the embodiment of the application, the message pushing device sends application state information to the message display device, receives the pushing state information sent by the message display device, and pushes application messages of all applications in the message pushing device to the message display device for display based on the pushing state information. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced.
Referring to fig. 18, a schematic structural diagram of a message pushing device according to an exemplary embodiment of the present application is shown. The message pushing device may be implemented as all or part of the device by software, hardware, or a combination of both. The device 2 comprises a status information sending module 21, a push status receiving module 22, a message push module 23, an application message receiving module 24, an information deleting module 25 and an update information receiving module 26.
A status information transmitting module 21 for transmitting application status information to the message display device;
optionally, the status information sending module 21 is specifically configured to send an interconnection request to a message display device, where the interconnection request includes application status information of each application in the message pushing device.
A push state receiving module 22, configured to receive push state information sent by the message display apparatus, where the push state information is based on a message push priority of an application message of a device, and is obtained by setting the application state;
in particular, the push state receiving module 22 is specifically configured to receive the response information sent by the message display device, establish an interconnection relationship with the message display device, or,
Receiving first update information sent by the message display device;
And the response information and the first update information both comprise push state information and message push priority of the device application message.
A message pushing module 23, configured to push application messages of applications in the message pushing device to the message display device for display based on the push status information;
Optionally, the message pushing module 23 acquires a first active application in which a message pushing state is a pushable state in the pushing state information;
and pushing the application message of the first active application to the message display device for display.
An application message receiving module 24, configured to obtain a second active application with an active application state in the application state information;
and receiving an application message of the second active application.
And the information deleting module 25 is configured to delete the push state information if the second update information sent by the message display device is received.
An update information receiving module 26, configured to generate status update information if it is detected that the application status information has been changed;
Transmitting the state update information to the message display device, wherein the state update information is used for indicating the update of the application state information in the message display device;
and executing the step of receiving the push state information sent by the message display device.
In the embodiment of the application, the message pushing device sends application state information to the message display device, receives response information sent by the message display device, and establishes an interconnection relation with the message display device, or receives first update information sent by the message display device, acquires a first active application in which the message pushing state is a pushing state in the pushing state information, and pushes application messages of the first active application to the message display device for display. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced. If the application state information is detected to be changed, generating state update information, and sending the state update information to the message display device, so that the real-time performance of message pushing is ensured, the using effect of message pushing is improved, and confusion and repetition of application message pushing of the first equipment and the second equipment are further avoided. And deleting the pushing state information after receiving the second updating information, pushing the application message according to the application state information, avoiding occupying the memory of the message pushing device, and improving the efficiency of message pushing.
Referring to fig. 19, a block diagram of an electronic device according to an exemplary embodiment of the present application is shown. The electronic device of the present application may include one or more of the following components: processor 210, memory 220, input device 230, output device 240, and bus 250. The processor 210, memory 220, input device 230, and output device 240 may be connected by a bus 250.
Processor 210 may include one or more processing cores. The processor 210 utilizes various interfaces and lines to connect various portions of the overall electronic device, perform various functions of the electronic device 200, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 220, and invoking data stored in the memory 220. Alternatively, the processor 210 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-programmable gate array (FPGA), programmable logic array (programmable logic Array, PLA). The processor 210 may integrate one or a combination of several of a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 210 and may be implemented solely by a single communication chip.
The memory 220 may include a random access memory (random Access Memory, RAM) or a read-only memory (ROM). Optionally, the memory 220 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 220 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, which may be an Android (Android) system, including an Android system-based deep development system, an IOS system developed by apple corporation, including an IOS system-based deep development system, or other systems, 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. The storage data area may also store data created by the electronic device in use, such as phonebooks, audiovisual data, chat log data, and the like.
Referring to FIG. 20, memory 220 may be divided into an operating system space in which the operating system runs and a user space in which native and third party applications run. In order to ensure that different third party application programs can achieve better operation effects, 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, under the local resource loading scenario, the third party application program has higher requirement on the disk reading speed; in the animation rendering scene, the third party application program has higher requirements on the GPU performance. The operating system and the third party application program are mutually independent, and the operating system often cannot timely sense the current application scene of the third party application program, 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 specific application scenes of the third-party application program, data communication between the third-party application program and the operating system needs to be communicated, so that the operating system can acquire current scene information of the third-party application program at any time, and targeted system resource adaptation is performed based on the current scene.
Taking an operating system as an Android system for example, as shown in fig. 21, a program and data stored in the memory 220 may be stored in the memory 220 with a Linux kernel layer 520, a system runtime library layer 540, an application framework layer 560 and an application layer 580, where the Linux kernel layer 520, the system runtime library layer 540 and the application framework layer 560 belong to an operating system space, and the application layer 580 belongs to a user space. The Linux kernel layer 520 provides the underlying drivers for various hardware of the electronic device, such as display drivers, audio drivers, camera drivers, bluetooth drivers, wi-Fi drivers, power management, and the like. The system runtime library layer 540 provides the main feature support for the Android system through some C/c++ libraries. For example, the SQLite library provides support for databases, the OpenGL/ES library provides support for 3D graphics, the Webkit library provides support for browser kernels, and the like. Also provided in the system runtime library layer 540 is An Zhuoyun runtime library (Android runtime), which primarily provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 560 provides various APIs that may be used in building applications, which developers can also build their own applications by using, for example, campaign management, window management, view management, notification management, content provider, package management, call management, resource management, location management. The application layer 580 has at least one application running therein, and these applications may be native applications of the operating system, such as a contact program, a short message program, a clock program, a camera application, etc.; and can also be a third party application program developed by a third party developer, such as a game application program, an instant messaging program, a photo beautification program, a message push setting program and the like.
Taking an operating system as an IOS system as an example, the programs and data stored in the memory 220 are shown in fig. 22, the IOS system includes: core operating system layer 620 (Core OS layer), core services layer 640 (Core SERVICES LAYER), media layer 660 (MEDIA LAYER), and touchable layer 680 (Cocoa Touch Layer). The core operating system layer 620 includes an operating system kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by the program frameworks at the core services layer 640. The core services layer 640 provides system services and/or program frameworks required by an application, 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 sports framework, and the like. The media layer 660 provides the application with audio-visual related interfaces, such as graphics-image related interfaces, audio technology related interfaces, video technology related interfaces, audio-video transmission technology wireless play (AirPlay) interfaces, and the like. The touchable layer 680 provides various commonly used interface-related frameworks for application development, with the touchable layer 680 being responsible for user touch interactions on the electronic device. Such as a local notification service, a remote push service, an advertisement framework, a game tool framework, a message User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
Among the frameworks shown in fig. 22, frameworks related to most applications include, but are not limited to: a base framework in core services layer 640 and UIKit frameworks in touchable layer 680. The infrastructure provides many basic object classes and data types, providing the most basic system services for all applications, independent of the UI. While the class provided by the UIKit framework is a base UI class library for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides the application's infrastructure for building user interfaces, drawing, handling and user interaction events, responding to gestures, and so on.
The manner and principle of implementing data communication between the third party application program and the operating system in the IOS system can refer to the Android system, and the application is not described herein.
The input device 230 is configured to receive input instructions or data, and the input device 230 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 240 is used to output instructions or data, and the output device 240 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 230 and the output device 240 may be combined, and the input device 230 and the output device 240 are a touch display screen for receiving a touch operation thereon or thereabout by a user using a finger, a touch pen, or any other suitable object, and displaying a user interface of each application program. Touch display screens 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 contoured screen. The touch display screen may also be designed as a combination of a full screen and a curved screen, and the combination of a special-shaped screen and a curved screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configuration of the electronic device shown in the above-described figures does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, the electronic device further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WIRELESS FIDELITY, wiFi) module, a power supply, and a bluetooth module, which are not described herein.
In the embodiment of the present application, 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 other operating systems, which is not limited by the embodiments of the present application.
The electronic device of the embodiment of the application can be further provided with a display device, and the display device can be various devices capable of realizing display functions, such as: cathode ray tube displays (cathode ray tubedisplay, CR), light-emitting diode displays (light-emitting diode display, LED), electronic ink screens, liquid Crystal Displays (LCD), plasma display panels (PLASMA DISPLAY PANEL, PDP), and the like. A user may utilize a display device on electronic device 101 to view displayed text, images, video, etc. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality ) device, an automobile, a data storage, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, etc.
In the electronic device shown in fig. 19, the processor 210 may be configured to invoke the message push setting application stored in the memory 220, and specifically perform the following operations:
transmitting application state information to a message display device;
Receiving push state information sent by the message display device, wherein the push state information is obtained by setting the application state based on the message push priority of the equipment application message;
And pushing application messages of all applications in the message pushing device to the message display device for display based on the pushing state information.
In one embodiment, the processor 210, when executing the sending of the application state information to the message display device, specifically performs the following operations:
and sending an interconnection request to a message display device, wherein the interconnection request comprises application state information of each application in the message pushing device.
In one embodiment, the processor 210, when executing the receiving of the push status information sent by the message display device, specifically executes the following operations:
Receiving the response information sent by the message display device, establishing an interconnection relationship with the message display device, or,
Receiving first update information sent by the message display device;
And the response information and the first update information both comprise push state information and message push priority of the device application message.
In one embodiment, the processor 210 specifically performs the following operations when executing pushing application messages of applications in the message pushing device to the message display device for display based on the pushing status information:
Acquiring a first active application in which a message pushing state is a pushing state in the pushing state information;
and pushing the application message of the first active application to the message display device for display.
In one embodiment, the processor 210, when executing the message push setting method, further performs the following operations:
Acquiring a second active application with an active application state in the application state information;
and receiving an application message of the second active application.
In one embodiment, the processor 210, when executing the message push setting method, further performs the following operations:
and if the second updating information sent by the message display device is received, deleting the push state information.
In one embodiment, the processor 210, when executing the message push setting method, further performs the following operations:
If the application state information is detected to be changed, generating state update information;
Transmitting the state update information to the message display device, wherein the state update information is used for indicating the update of the application state information in the message display device;
and executing the step of receiving the push state information sent by the message display device.
In the embodiment of the application, the message pushing device sends application state information to the message display device, receives response information sent by the message display device, and establishes an interconnection relation with the message display device, or receives first update information sent by the message display device, acquires a first active application in which the message pushing state is a pushing state in the pushing state information, and pushes application messages of the first active application to the message display device for display. By setting the pushing state information of the first equipment and the second equipment according to the message pushing priority, confusion and repetition of application message pushing of the first equipment and the second equipment are avoided, the using effect of message pushing is improved, and waste of resources such as bandwidth is reduced. If the application state information is detected to be changed, generating state update information, and sending the state update information to the message display device, so that the real-time performance of message pushing is ensured, the using effect of message pushing is improved, and confusion and repetition of application message pushing of the first equipment and the second equipment are further avoided. And deleting the pushing state information after receiving the second updating information, pushing the application message according to the application state information, avoiding occupying the memory of the message pushing device, and improving the efficiency of message pushing.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (20)

1. A message push setting method, which is applied to a message display device, the method comprising:
If an interconnection relation exists between the first device and the second device and an interconnection request of the second device is received, acquiring first application state information of the first device and second application state information of the second device;
Based on the message pushing priority of the device application message, respectively setting the message pushing state of each application in the first application state information and the second application state information to obtain first pushing state information and second pushing state information;
transmitting the first push state information to the first device, and transmitting the second push state information to the second device;
The first pushing state information and the second pushing state information are respectively used for indicating the first equipment and the second equipment to push application messages of the applications to the message display device for display;
the message pushing priority based on the device application message sets the message pushing state of each application in the first application state information and the second application state information respectively, so as to obtain first pushing state information and second pushing state information, and the method comprises the following steps:
Determining message push priorities of the first device and the second device;
Acquiring target applications with the same application identifier and active application states from the first application state information and the second application state information;
Setting a first message pushing state for the target application in the first application state information and setting a second message pushing state for the target application in the second application state information based on the message pushing priority;
Generating first push state information based on the first application state information and the first message push state, and generating second push state information based on the second application state information and the second message push state;
The application state information comprises application identifiers and application states of all applications in the message pushing device, the application states comprise an active state and an inactive state, the message pushing state comprises a pushable state and a pause pushing state, and the pushing state information comprises application identifiers and message pushing states of all applications in the message pushing device.
2. The method of claim 1, wherein the obtaining the first application state information of the first device and the second application state information of the second device if there is an interconnection relationship with the first device and an interconnection request of the second device is received, comprises:
Receiving a first interconnection request sent by first equipment, sending first response information corresponding to the first interconnection request to the first equipment, and establishing an interconnection relation with the first equipment, wherein the first interconnection request comprises first application state information of the first equipment;
and receiving a second interconnection request sent by second equipment, wherein the second interconnection request comprises second application state information of the second equipment.
3. The method of claim 1, wherein the setting a first message push state of the target application in the first application state information and setting a second message push state of the target application in the second application state information comprises:
If the message pushing priority of the first device is higher than that of the second device, setting the message pushing state of the target application in the second application state information to be a pause pushing state to obtain a second message pushing state, and setting the message pushing state of the target application in the first application state information to be a pushable state to obtain a first message pushing state;
if the message pushing priority of the second device is higher than that of the first device, setting the message pushing state of the target application in the first application state information to be a pause pushing state to obtain a first message pushing state, and setting the message pushing state of the target application in the second application state message to be a pushable state to obtain a second message pushing state.
4. The method of claim 1, wherein the setting a first message push state for the target application in the first application state information and a second message push state for the target application in the second application state information based on the message push priority comprises:
Acquiring a first application except the target application in the first application state information, and acquiring a second application except the target application in the second application state information;
Setting a third message pushing state for the first application in the first application state information and setting a fourth message pushing state for the second application in the second application state information based on the corresponding relation between the application state and the message pushing state;
Generating first pushing state information based on the first application state information, the first message pushing state and the third message pushing state, and generating second pushing state information based on the second application state information, the second message pushing state and the fourth message pushing state.
5. The method of claim 4, wherein the correspondence between the application state and the message push state is:
if the application state of any one of the first application and the second application is an active state, the message pushing state of any one application is a pushable state;
And if the application state of any application is an inactive state, the message pushing state of any application is a pause pushing state.
6. The method of claim 1, wherein the sending the first push state information to the first device and the second push state information to the second device comprises:
sending second response information to the second device, and establishing an interconnection relation with the second device, wherein the second response information comprises the second push state information and the message push priority of the second device;
And sending first update information to the first device, wherein the first update information comprises the first application push message and the message push priority of the first device.
7. The method of claim 6, wherein the message push priority is stored in a reserved field of the second response information and the first update information.
8. The method according to claim 1, wherein the method further comprises:
If the interconnection relation with the first equipment is disconnected, second updating information is sent to the second equipment, and the second updating information indicates the second equipment to delete the second pushing state information;
And if the interconnection relation with the second device is disconnected, third updating information is sent to the first device, and the third updating information indicates the first device to delete the first pushing state information.
9. The method according to claim 1, wherein the method further comprises:
If first state update information of the first device is received, updating the first application state information based on the first state update information to obtain updated first application state information;
if second state update information of the second device is received, updating the second application state information based on the second state update information to obtain updated second application state information;
And executing the message pushing priority based on the device application message, and respectively setting message pushing states of all applications in the first application state information and the second application state information to obtain first pushing state information and second pushing state information.
10. A message pushing method, which is applied to a message pushing device, the method comprising:
The method comprises the steps that application state information is sent to a message display device, the message display device is in interconnection relation with a first message pushing device and a second message pushing device, the message display device obtains target applications with the same application identifiers and active application states in first application state information sent by the first message pushing device and second application state information sent by the second message pushing device, sets a first message pushing state for the target applications in the first application state information based on message pushing priorities of the first message pushing device and the second message pushing device, sets a second message pushing state for the target applications in the second application state information, generates first pushing state information based on the first application state information and the first message pushing state, generates second pushing state information based on the second application state information and the second message pushing state, and sends the first pushing state information to the first message pushing device and sends the second pushing state information to the second message pushing device;
Receiving push state information sent by the message display device;
Based on the pushing state information, pushing application messages of all applications in the message pushing device to the message display device for display;
The application state information comprises application identifiers and application states of all applications in the message pushing device, the application states comprise an active state and an inactive state, the message pushing state comprises a pushable state and a pause pushing state, and the pushing state information comprises application identifiers and message pushing states of all applications in the message pushing device.
11. The method of claim 10, wherein the sending application state information to the message display device comprises:
and sending an interconnection request to a message display device, wherein the interconnection request comprises application state information of each application in the message pushing device.
12. The method of claim 10, wherein the receiving push state information sent by the message display device comprises:
Receiving the response information sent by the message display device, establishing an interconnection relationship with the message display device, or,
Receiving first update information sent by the message display device;
And the response information and the first update information both comprise push state information and message push priority of the device application message.
13. The method according to claim 10, wherein pushing application messages of applications in the message pushing device to the message display device for display based on the push status information includes:
Acquiring a first active application in which a message pushing state is a pushing state in the pushing state information;
and pushing the application message of the first active application to the message display device for display.
14. The method according to claim 10, wherein the method further comprises:
Acquiring a second active application with an active application state in the application state information;
and receiving an application message of the second active application.
15. The method according to claim 10, wherein the method further comprises:
and if the second updating information sent by the message display device is received, deleting the push state information.
16. The method according to claim 10, wherein the method further comprises:
If the application state information is detected to be changed, generating state update information;
Transmitting the state update information to the message display device, wherein the state update information is used for indicating the update of the application state information in the message display device;
and executing the step of receiving the push state information sent by the message display device.
17. A message display apparatus, the apparatus comprising:
The state information acquisition module is used for acquiring first application state information of the first equipment and second application state information of the second equipment if an interconnection relation exists between the state information acquisition module and the first equipment and an interconnection request of the second equipment is received;
the pushing state setting module is used for setting message pushing states of all applications in the first application state information and the second application state information respectively based on message pushing priority of the device application message to obtain first pushing state information and second pushing state information;
The pushing state sending module is used for sending the first pushing state information to the first equipment and sending the second pushing state information to the second equipment;
The first pushing state information and the second pushing state information are respectively used for indicating the first equipment and the second equipment to push application messages of the applications to the message display device for display;
The push state setting module is specifically configured to set the message push state of each application in the first application state information and the second application state information according to the message push priority based on the device application message, so as to obtain first push state information and second push state information, and includes:
Determining message push priorities of the first device and the second device;
Acquiring target applications with the same application identifier and active application states from the first application state information and the second application state information;
Setting a first message pushing state for the target application in the first application state information and setting a second message pushing state for the target application in the second application state information based on the message pushing priority;
Generating first push state information based on the first application state information and the first message push state, and generating second push state information based on the second application state information and the second message push state;
The application state information comprises application identifiers and application states of all applications in the message pushing device, the application states comprise an active state and an inactive state, the message pushing state comprises a pushable state and a pause pushing state, and the pushing state information comprises application identifiers and message pushing states of all applications in the message pushing device.
18. A message pushing device, the device comprising:
The state information sending module is used for sending application state information to the message display device, wherein the message display device has interconnection relation with a first message pushing device and a second message pushing device, the message display device obtains target applications with the same application identifiers and active application states from the first application state information sent by the first message pushing device and the second application state information sent by the second message pushing device, sets a first message pushing state for the target applications in the first application state information based on message pushing priorities of the first message pushing device and the second message pushing device, sets a second message pushing state for the target applications in the second application state information, generates first pushing state information based on the first application state information and the first message pushing state, generates second pushing state information based on the second application state information and the second message pushing state, and sends the first pushing state information to the first message pushing device and sends the second pushing state information to the first pushing device;
The push state receiving module is used for receiving push state information sent by the message display device;
The message pushing module is used for pushing application messages of all applications in the message pushing device to the message display device for display based on the pushing state information;
The application state information comprises application identifiers and application states of all applications in the message pushing device, the application states comprise an active state and an inactive state, the message pushing state comprises a pushable state and a pause pushing state, and the pushing state information comprises application identifiers and message pushing states of all applications in the message pushing device.
19. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any of claims 1 to 9 or 10 to 16.
20. 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-9 or 10-16.
CN202111355061.6A 2021-11-16 2021-11-16 Message push setting method and device, storage medium and electronic equipment Active CN114125048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111355061.6A CN114125048B (en) 2021-11-16 2021-11-16 Message push setting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111355061.6A CN114125048B (en) 2021-11-16 2021-11-16 Message push setting method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114125048A CN114125048A (en) 2022-03-01
CN114125048B true CN114125048B (en) 2024-05-17

Family

ID=80395824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111355061.6A Active CN114125048B (en) 2021-11-16 2021-11-16 Message push setting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114125048B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294339A (en) * 2012-02-15 2013-09-11 Lg电子株式会社 Image display device and method of controlling the same
CN106657591A (en) * 2016-10-19 2017-05-10 福建中金在线信息科技有限公司 Display method and device for push messages of application programs
CN109119151A (en) * 2018-07-25 2019-01-01 深圳市理邦精密仪器股份有限公司 Realize the method and device of the mutual connection of equipment room
CN112269614A (en) * 2020-10-26 2021-01-26 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN112464095A (en) * 2020-12-01 2021-03-09 Oppo(重庆)智能科技有限公司 Message pushing method, device, terminal and storage medium
CN113194200A (en) * 2021-04-28 2021-07-30 维沃移动通信有限公司 Message display method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294339A (en) * 2012-02-15 2013-09-11 Lg电子株式会社 Image display device and method of controlling the same
CN106657591A (en) * 2016-10-19 2017-05-10 福建中金在线信息科技有限公司 Display method and device for push messages of application programs
CN109119151A (en) * 2018-07-25 2019-01-01 深圳市理邦精密仪器股份有限公司 Realize the method and device of the mutual connection of equipment room
CN112269614A (en) * 2020-10-26 2021-01-26 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN112464095A (en) * 2020-12-01 2021-03-09 Oppo(重庆)智能科技有限公司 Message pushing method, device, terminal and storage medium
CN113194200A (en) * 2021-04-28 2021-07-30 维沃移动通信有限公司 Message display method and device and electronic equipment

Also Published As

Publication number Publication date
CN114125048A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
EP3751418B1 (en) Resource configuration method and apparatus, terminal, and storage medium
WO2021190184A1 (en) Remote assistance method and apparatus, and storage medium and terminal
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
CN112653670A (en) Service logic vulnerability detection method, device, storage medium and terminal
AU2019256257A1 (en) Processor core scheduling method and apparatus, terminal, and storage medium
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN111986454A (en) Wireless earphone searching method, device, storage medium and terminal
CN110572815A (en) Network access method, device, storage medium and terminal
CN114489891A (en) Control method, system, device, readable medium and equipment of cloud application program
CN113419873A (en) Chat message reminding method and device, storage medium and terminal equipment
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
WO2020207083A1 (en) Information sharing method and apparatus, and electronic device and computer-readable storage medium
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN114125048B (en) Message push setting method and device, storage medium and electronic equipment
CN113595662B (en) Signal prompting method, device, terminal equipment and storage medium
CN113950043B (en) Communication method, device, storage medium and terminal
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN113098859B (en) Webpage page rollback method, device, terminal and storage medium
CN115145660A (en) Multimedia playing method, device, storage medium and terminal equipment
CN113312572A (en) Resource processing method and device, storage medium and electronic equipment
CN115314588B (en) Background synchronization method, device, terminal, equipment, system and storage medium
CN113315687B (en) Proxy network management method, device, storage medium and terminal
CN111212411B (en) File transmission method, device, storage medium and terminal
WO2023273936A1 (en) Wallpaper setting method and apparatus, and storage medium and electronic device

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
GR01 Patent grant
GR01 Patent grant