Data Push Method, Apparatus, Device, and Storage Medium
By using UWB technology and node-level broadcasting mechanism in the data forwarding network, the problem of poor data pushing effect in the existing technology is solved, and efficient data pushing effect within a specific range is achieved.
Patent Information
- Application Number
- CN202211477708.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-11-23
AI Technical Summary
The poor effect of data pushing within a specific range in the prior art is mainly due to the need for the receiving device to access a specific WIFI, and the data pushing range is limited by the WIFI coverage range.
A data forwarding network containing multiple nodes is adopted. The nodes communicate through UWB technology. When receiving the encrypted data to be pushed, it determines whether there is a source node in the data forwarding network and broadcasts according to the node level, so that the intelligent terminal can receive and decrypt the verification data.
It realizes efficient data push in specific locations, solves the problem that smart terminals need to access specific WIFI to receive push data, and improves the coverage and effect of data push.
Smart Images

Figure CN115834680B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data pushing, and particularly to a data pushing method, device, equipment and storage medium. Background Art
[0002] By implementing information broadcasting to specific populations through data pushing technology based on specific locations, to achieve the pushing of advertising information, warning information and other information, the data pushing technology based on specific locations can be widely applied to crowded places such as shopping malls and schools. Currently, the data pushing based on specific locations is generally achieved through the WIFI network. However, this method requires the receiving device to access a specific WIFI, and the data pushing range is limited by the WIFI coverage area, resulting in poor data pushing effect.
[0003] The above content is only used to assist in understanding the technical solution of the present invention, and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main object of the present invention is to provide a data pushing method, device, equipment and storage medium, aiming to solve the technical problem of poor data pushing effect in a specific range in the prior art.
[0005] To achieve the above object, the present invention provides a data pushing method, which is applied to a data forwarding network including multiple nodes, and the multiple nodes communicate with each other through UWB technology. The method includes the following steps:
[0006] When receiving the encrypted data to be pushed, determine whether there is a source node in the data forwarding network that sends the encrypted data to be pushed;
[0007] If there is, determine whether the node level of the source node is higher than its own node level;
[0008] If so, broadcast the encrypted data to be pushed, so that the smart terminal receiving the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful.
[0009] Optionally, after determining whether there is a source node in the data forwarding network that sends the encrypted data to be pushed when receiving the encrypted data to be pushed, the method further includes:
[0010] If not, broadcast the encrypted data to be pushed, so that the smart terminal receiving the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful;
[0011] And / or, if not, broadcast the encrypted data to be pushed, so that the nodes receiving the encrypted data to be pushed execute the step of determining whether there is a source node that sends the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed.
[0012] Optionally, the encrypted data to be pushed carries a field representing the node level. After determining whether the node level of the source node is higher than its own node level, it further includes:
[0013] If so, modify the node level corresponding to the field representing the node level to its own node level to obtain the modified encrypted data to be pushed.
[0014] Broadcast the modified encrypted data to be pushed.
[0015] Optionally, among the multiple nodes, there is at least one central node and several sub-nodes. The node level of the central node is higher than that of each sub-node, and the node level of each sub-node is determined according to the distance between each sub-node and the central node.
[0016] Optionally, when receiving the encrypted data to be pushed, determining whether there is a source node that sends the encrypted data to be pushed in the data forwarding network includes:
[0017] When receiving the encrypted data to be pushed, determine the node level according to the field representing the node level in the encrypted data to be pushed.
[0018] When the node level is inconsistent with the preset level, it is determined that there is a source node that sends the encrypted data to be pushed in the data forwarding network.
[0019] Optionally, among the multiple nodes, there is at least one central node. Before determining whether there is a source node that sends the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed, it further includes:
[0020] The data sender sends the data to be pushed to the authentication server, and the authentication server is used to encrypt the data to be pushed with added prefix and suffix verification characters through the server private key and return the obtained encrypted data to be pushed to the data sender.
[0021] The data sender sends the encrypted data to be pushed to the central node of the data forwarding network.
[0022] When the central node receives the encrypted data to be pushed, it broadcasts the encrypted data to be pushed.
[0023] In addition, to achieve the above object, the present invention further provides a data push method, which is applied to an intelligent terminal provided with a UWB module, and the method includes:
[0024] When receiving the encrypted data to be pushed through the UWB module, decrypt the encrypted data to be pushed using the server public key of the authentication server to obtain the data to be pushed;
[0025] Extract a prefix verification character and a suffix verification character from the data to be pushed, and verify the data to be pushed according to the prefix verification character, the suffix verification character and a preset verification character;
[0026] When the data to be pushed is successfully verified, display the data to be pushed.
[0027] In addition, to achieve the above object, the present invention further provides a data push device. A plurality of data push devices form a data push network, and the data push devices communicate with each other through UWB technology. The data push device includes:
[0028] A first judgment module, configured to judge whether there is a source node that sends the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed;
[0029] A second judgment module, configured to judge whether the node level of the source node is higher than its own node level if it exists;
[0030] A broadcast module, configured to, if so, broadcast the encrypted data to be pushed, so that the intelligent terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful.
[0031] In addition, to achieve the above object, the present invention further provides a device, which includes: a memory, a processor, and a data push program stored on the memory and executable on the processor. The data push program is configured to implement the steps of the data push method as described above.
[0032] In addition, to achieve the above object, the present invention further provides a storage medium, on which a data push program is stored. When the data push program is executed by a processor, it implements the steps of the data push method as described above.
[0033] The present invention provides a data push method, which is applied to a data forwarding network including multiple nodes. The multiple nodes communicate with each other through UWB technology. The method includes: when receiving encrypted data to be pushed, determining whether there is a source node that sends the encrypted data to be pushed in the data forwarding network; if so, determining whether the node level of the source node is higher than its own node level; if so, broadcasting the encrypted data to be pushed, so that the smart terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful. The present invention broadcasts the encrypted data to be pushed through a data forwarding network including multiple nodes, and the nodes communicate with each other through UWB technology, so that the smart terminal that receives the encrypted data to be pushed decrypts, verifies and displays the confidential data to be pushed, realizes data push at a specific location, solves the technical problem that the smart terminal needs to access a specific WIFI to receive push data, and improves the push effect of data push within a specific range. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 FIG. is a schematic structural diagram of a data push device for the hardware operating environment involved in the solution of the embodiment of the present invention;
[0035] Figure 2 FIG. is a schematic flowchart of the first embodiment of the data push method of the present invention;
[0036] Figure 3 FIG. is a schematic diagram of the node positions included in the data forwarding network in an embodiment of the data push method of the present invention;
[0037] Figure 4 FIG. is a schematic flowchart of the second embodiment of the data push method of the present invention;
[0038] Figure 5 FIG. is a timing diagram of broadcasting the data to be pushed in an embodiment of the data push method of the present invention;
[0039] Figure 6 FIG. is a schematic flowchart of another embodiment of the data push method of the present invention;
[0040] Figure 7 FIG. is a structural block diagram of the first embodiment of the data push device of the present invention;
[0041] Figure 8 FIG. is a structural block diagram of another embodiment of the data push device of the present invention.
[0042] The realization, functional features and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0043] It should be understood that the specific embodiments described herein are only for explaining the present invention and are not used to limit the present invention.
[0044] Refer to Figure 1 , Figure 1 which is a schematic structural diagram of a data push device for the hardware operating environment involved in the solution of the embodiment of the present invention.
[0045] As Figure 1 shown, the data push device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0046] Those skilled in the art can understand that Figure 1 the structure shown in
[0047] does not constitute a limitation on the data push device, and may include more or fewer components than shown in the figure, or combine some components, or have a different component layout. Figure 1 shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a data push program.
[0048] In Figure 1 the data push device shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the data push device of the present invention may be provided in the data push device, and the data push device calls the data push program stored in the memory 1005 through the processor 1001 and executes the data push method provided by the embodiment of the present invention.
[0049] An embodiment of the present invention provides a data push method. The data push method is applied to a data forwarding network including multiple nodes, and the multiple nodes communicate with each other through UWB technology. Refer to Figure 2 , Figure 2 which is a schematic flowchart of the first embodiment of the data push method of the present invention.
[0050] In this embodiment, the data push method includes the following steps:
[0051] Step S10: When receiving the encrypted data to be pushed, determine whether there is a source node in the data forwarding network that sends the encrypted data to be pushed.
[0052] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device, a data push device, a data push device, a data forwarding network, etc. that can implement the above functions. Hereinafter, the data forwarding network is taken as an example to illustrate this embodiment and the following embodiments.
[0053] It can be understood that UWB technology is Ultra Wide Band (UWB) technology, and UWB technology is a wireless carrier communication technology; the data forwarding network can be a network used to forward and broadcast the encrypted data to be pushed. The data forwarding network is composed of multiple nodes, and each node communicates with each other through UWB technology; the number of nodes in the data forwarding network can be adjusted according to the data push range. For example, when the data push range expands, the number of nodes in the data forwarding network can be increased, and when the data push range shrinks, the nodes in the data forwarding network can be deactivated or reduced. It can be set according to the specific scenario, and this embodiment does not limit it here.
[0054] It should be understood that the encrypted data to be pushed can be data obtained by encrypting the data to be pushed to the smart terminal. The methods for encrypting the data to be pushed include symmetric encryption and asymmetric encryption; the source node can be a node that forwards the encrypted data to be pushed; after the nodes in the data forwarding network receive the encrypted data to be pushed, they will broadcast the encrypted data to be pushed within a preset range, and the nodes and / or smart terminals within the preset range can receive the encrypted data to be pushed. The nodes that receive the encrypted data to be pushed will continue to broadcast the received encrypted data to be pushed within the preset range, and the preset range can be the maximum broadcast range of the node.
[0055] Step S20: If it exists, determine whether the node level of the source node is higher than its own node level.
[0056] It should be noted that among multiple nodes, there are several child nodes and at least one central node. When there is a source node for forwarding encrypted data to be pushed in the data forwarding network, the node that receives the encrypted data to be pushed can be determined as a child node. When the node that receives the encrypted data to be pushed is a child node, it is necessary to determine whether the node level of the source node is higher than its own node level.
[0057] It can be understood that the source node can be the node that broadcasts the encrypted data to be pushed in the data forwarding network; the node level can be the level of the node in the data forwarding network; the own node level can be the level of the node that receives the encrypted data to be pushed; the low-level nodes in the data forwarding network forward the encrypted data to be pushed broadcast by the high-level nodes.
[0058] Step S30: If so, broadcast the encrypted data to be pushed, so that the smart terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful.
[0059] It can be understood that the smart terminal can be a terminal that supports the UWB function. The smart terminal includes a smart watch, a smart phone, a smart bracelet or other terminals that support the UWB function; the encrypted data to be pushed broadcast by each node in the data forwarding network can be received by the smart terminal with the UWB function; when the node level of the source node is higher than its own node level, broadcast the encrypted data to be pushed, and the smart terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed, and displays the decrypted data to be pushed when the verification is successful.
[0060] It should be understood that in order to avoid information oscillation caused by repeated sending of the same information between nodes, when the node level of the source node is higher than its own node level, continue to determine the level difference between the node level of the source node and its own node level. When the level difference is a preset value, broadcast the encrypted data to be pushed.
[0061] In a specific implementation, among the multiple nodes that make up the data forwarding network, there are several child nodes and at least one central node. Each node communicates with each other through the UWB technology. When one node receives the encrypted data to be pushed, it determines whether there is a source node for the encrypted data to be pushed in the data forwarding network. If there is, it determines the node that receives the encrypted data to be pushed as a child node, and continues to determine whether the node level of the source node is higher than its own node level. If it is higher, it broadcasts the encrypted data to be pushed, so that the smart terminal with the UWB function decrypts and verifies the encrypted data to be pushed after receiving it, and displays the decrypted data obtained after the verification is successful.
[0062] Further, in order to broadcast the encrypted data to be pushed when there is no source node sending the encrypted data to be pushed in the data forwarding network, after the step S10, the method further includes: if not, broadcasting the encrypted data to be pushed, so that the smart terminals receiving the encrypted data to be pushed decrypt and verify the encrypted data to be pushed and display the encrypted data to be pushed when the verification is successful; and / or, if not, broadcasting the encrypted data to be pushed, so that the nodes receiving the encrypted data to be pushed execute the step of determining whether there is a source node sending the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed.
[0063] It should be noted that when there is no source node sending the encrypted data to be pushed in the data forwarding network, the own node is determined as the central node. When the own node is the central node, the encrypted data to be pushed is broadcast. When the smart terminals with UWB function within the broadcast range receive the encrypted data to be pushed, they decrypt and verify the encrypted data to be pushed. After the nodes within the broadcast range receive the encrypted data to be pushed, they continue to execute the step of determining whether there is a source node sending the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed.
[0064] Further, in order to avoid information turmoil caused by the repeated reception and transmission of the encrypted data to be pushed between nodes, the encrypted data to be pushed carries a field representing the node level. After determining whether the node level of the source node is higher than the own node level, the method further includes: if so, modifying the node level corresponding to the field representing the node level to the own node level to obtain the modified encrypted data to be pushed; broadcasting the modified encrypted data to be pushed.
[0065] In a specific implementation, for example, Table 1 shows the data format of the encrypted data to be pushed. Here, byte represents a byte, and the stored data Description is used to represent the size of the data packet; SOF is a field representing the start frame, and the stored data start offrame is used to represent the segment where the data frame starts; level is a field representing the node level, and the stored data level is used to represent the node level. In 0x0a, a represents the node level as a; payload length is a field representing the payload length, and the stored data length of payload_T is used to represent the length of the payload, that is, the length of the actual data; payload is a field representing the payload, and the stored data Real data is used to represent the actual data stored in the data packet. This actual data is the data that needs to be pushed to the smart terminal for display. Assume that when receiving the encrypted data to be pushed, the field representing the node level is parsed and the level data is extracted. For example, if the node level of itself is 2 and the level data extracted from the field representing the node level is 0x01, it means that the node level of the source node is 1. At this time, it is determined that the node level of the source node is higher than its own node level, and 0x01 is modified to 0x02 to obtain the modified encrypted data to be pushed. Then, the modified encrypted data to be pushed is broadcast. During the process of forwarding the encrypted data to be pushed, only the field representing the node level needs to be modified, and the data of other fields remains unchanged.
[0066] Table 1
[0067]
[0068] Further, in order to determine the node levels of each node in the data forwarding network, at least one central node and several sub-nodes are included in the multiple nodes. The node level of the central node is higher than that of each sub-node, and the node levels of each sub-node are determined according to the distance between each sub-node and the central node.
[0069] In a specific implementation, for example Figure 3Schematic diagram of the node positions included in the data forwarding network. The data forwarding network includes a central node and several sub-nodes. The central node is denoted as L1. The sub-node closest to the central node in the periphery is the secondary node, denoted as L2. The nodes in the periphery of the L2 node are denoted as L3. The nodes in the periphery of the L3 node are denoted as L4, and so on. The number of nodes is set according to the specific scenario and is not limited herein. The node levels from high to low are: L1 - L2 - L3 - L4. UWB is used for communication between each node. To avoid information oscillation, a lower-level node forwards the encrypted data to be pushed to a node one level higher than it. For example, when L1 receives the encrypted data to be pushed, and there is no source node in the data forwarding network that sends the encrypted data to be pushed at this time, L1 modifies the field representing the node level in the encrypted data to be pushed to 0x01, and broadcasts the modified encrypted data to be pushed, so that the smart terminal receives the encrypted data to be pushed, and / or the sub-node receives the encrypted data to be pushed. For example, when L2 receives the encrypted data to be pushed, if the node level read from the field representing the node level in the encrypted data to be pushed is 0x01, it modifies the node level to 0x02 and then broadcasts it; if the node level read from the field representing the node level in the encrypted data to be pushed is 0x03, it does not forward the encrypted data to be pushed.
[0070] This embodiment proposes a data push method. The data push method is applied to a data forwarding network including multiple nodes. The multiple nodes communicate with each other through UWB technology. The method includes: when receiving the encrypted data to be pushed, determining whether there is a source node in the data forwarding network that sends the encrypted data to be pushed; if so, determining whether the node level of the source node is higher than its own node level; if yes, broadcasting the encrypted data to be pushed, so that the smart terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful. In this embodiment, the encrypted data to be pushed is broadcast through a data forwarding network including multiple nodes, and the nodes communicate with each other through UWB technology, so that the smart terminal that receives the encrypted data to be pushed decrypts, verifies, and displays the confidential data to be pushed, realizing data push at a specific location, solving the technical problem that the smart terminal needs to access a specific WIFI to receive push data, and improving the push effect of data push within a specific range.
[0071] Reference Figure 4 , Figure 4 is a schematic flowchart of the second embodiment of the data push method of the present invention.
[0072] Based on the above first embodiment, in this embodiment, the step S10 includes:
[0073] Step S101: When receiving the encrypted data to be pushed, determine the node level according to the field representing the node level in the encrypted data to be pushed.
[0074] In a specific implementation, when receiving the encrypted data to be pushed, read the node level of the node sending the encrypted data to be pushed from the field representing the node level in the encrypted data to be pushed.
[0075] Step S102: When the node level is inconsistent with the preset level, determine that there is a source node sending the encrypted data to be pushed in the data forwarding network.
[0076] It can be understood that the preset level can be the default level represented by the field representing the node level. For example, if the preset level is 0x0b, when the node level represented by the field representing the node level is not 0x0b, it can be determined that there is a source node of the encrypted data to be pushed in the data forwarding network.
[0077] Furthermore, to ensure the reliability of the data, at least one central node is included among the multiple nodes. Before determining whether there is a source node sending the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed, it further includes: the data sender sends the data to be pushed to the authentication server, and the authentication server is used to encrypt the data to be pushed with the added prefix and suffix verification characters using the server private key, and return the obtained encrypted data to be pushed to the data sender; the data sender sends the encrypted data to be pushed to the central node of the data forwarding network; when the central node receives the encrypted data to be pushed, it broadcasts the encrypted data to be pushed.
[0078] It can be understood that the data sender can be the terminal sending the data to be pushed; the authentication server can be the server that encrypts the encrypted data to be pushed, and the authentication server can also be called the authentication agency; the prefix verification character can be the verification character added to the head of the data to be pushed; the suffix character can be the verification character added to the tail of the data to be pushed.
[0079] It should be noted that in this embodiment, the UWB technology is used to broadcast the encrypted data to be pushed, getting rid of the shackles of WIFI. As long as it is within the effective range of the broadcast, any intelligent terminal with UWB function can receive the encrypted data to be pushed. At the same time, the authentication key is used to ensure the identity information of the sender, ensuring the authority of the data while ensuring the coverage of data transmission.
[0080] In a specific implementation, for example Figure 5The timing diagram for broadcasting the data to be pushed. The prefix verification character is 0x7b, and the suffix verification character is 0x7e. The data sender generates the data to be pushed and sends the data to be pushed to the authentication server. The authentication server adds 0x7b to the head of the data to be pushed and adds 0x7e to the tail of the data to be pushed. After adding the verification characters, the data to be pushed with the verification characters added is encrypted by the private key of the server to obtain the encrypted data to be pushed, and the encrypted data to be pushed is returned to the data sender. The data sender sends the encrypted data to be pushed to the data forwarding network, and the encrypted data to be pushed is broadcast to the smart terminal through the central node and sub-nodes in the data forwarding network. The smart terminal decrypts and verifies the received encrypted data to be pushed, and when the verification is successful, the data to be pushed is displayed.
[0081] In this embodiment, when receiving the encrypted data to be pushed, the node level is determined according to the field representing the node level in the encrypted data to be pushed; when the node level is inconsistent with the preset level, it is determined that there is a source node in the data forwarding network that sends the encrypted data to be pushed. In this embodiment, when the node level represented by the field representing the node level in the encrypted data to be pushed is inconsistent with the preset level, it is determined that there is a source node in the data forwarding network, avoiding information shock.
[0082] An embodiment of the present invention provides another data push method. The data push method is applied to a smart terminal, and the smart terminal is provided with a UWB module. Refer to Figure 6 , Figure 6 is a schematic flowchart of an embodiment of the data push method of the present invention. The method includes:
[0083] Step S01: When receiving the encrypted data to be pushed through the UWB module, use the server public key of the authentication server to decrypt the encrypted data to be pushed to obtain the data to be pushed.
[0084] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program running functions, such as a smart watch, a tablet computer, a personal computer, a mobile phone, etc., or an electronic device, a data push device, etc. that can implement the above functions. Here, a smart watch is taken as an example to illustrate this embodiment and the following embodiments.
[0085] It can be understood that the data to be pushed obtained after decrypting the encrypted data to be pushed is the data with verification characters added; the server public key can be pre-installed in the smart watch.
[0086] Step S02: Extract the prefix verification character and the suffix verification character from the data to be pushed, and verify the data to be pushed according to the prefix verification character, the suffix verification character, and the preset verification character.
[0087] It can be understood that the preset verification character can be a character that is pre - set to verify the prefix verification character and the suffix verification character. The preset verification character can be divided into a preset prefix verification character and a preset suffix verification character. Verifying the data to be pushed can be to compare the preset prefix verification character with the prefix verification character in the data to be pushed, and compare the preset suffix verification character with the suffix verification character in the data to be pushed.
[0088] Step S03: When the verification of the data to be pushed is successful, display the data to be pushed.
[0089] It should be understood that when the prefix verification character is consistent with the preset prefix verification character and the suffix verification character is consistent with the preset suffix verification character, it is determined that the verification of the data to be pushed is successful, and the data between the prefix verification character and the suffix verification character is extracted for display.
[0090] In a specific implementation, continue to refer to Figure 5 , for example, when a smart watch receives the encrypted data to be pushed broadcast by an L2 - level node in a data forwarding network, first decrypt the encrypted data to be pushed using the server public key of the server to obtain the data to be pushed. Compare the prefix verification character in the data to be pushed with the preset prefix verification character, and compare the suffix verification character with the preset suffix verification character. When the comparison results are all consistent, the verification of the data to be pushed is successful, extract the data between the prefix verification character and the suffix verification character for display, and send a prompt message to the user.
[0091] In this embodiment, when receiving the encrypted data to be pushed through the UWB module, use the server public key of the authentication server to decrypt the encrypted data to be pushed to obtain the data to be pushed; extract the prefix verification character and the suffix verification character from the data to be pushed, and verify the data to be pushed according to the prefix verification character, the suffix verification character and the preset verification character; when the verification of the data to be pushed is successful, display the data to be pushed. This embodiment decrypts the encrypted data to be pushed using the server public key to obtain the data to be pushed, verifies the data to be pushed according to the prefix verification character, the suffix verification character and the preset verification character in the data to be pushed, and displays the data to be pushed when the verification is successful, improving data security.
[0092] In addition, an embodiment of the present invention also proposes a storage medium, on which a data push program is stored. When the data push program is executed by a processor, the steps of the data push method described above are implemented.
[0093] Refer to Figure 7 , Figure 7The structural block diagram of the first embodiment of the data push device of the present invention. A plurality of data push devices form a data push network, and communication between the data push devices is carried out through UWB technology. The data push device includes:
[0094] A first judgment module 10, configured to judge whether there is a source node that sends the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed;
[0095] A second judgment module 20, configured to, if it exists, judge whether the node level of the source node is higher than its own node level;
[0096] A broadcast module 30, configured to, if so, broadcast the encrypted data to be pushed, so that the smart terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful.
[0097] In this embodiment, when receiving the encrypted data to be pushed, it is judged whether there is a source node that sends the encrypted data to be pushed in the data forwarding network; if it exists, it is judged whether the node level of the source node is higher than its own node level; if so, the encrypted data to be pushed is broadcast, so that the smart terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful. It realizes data push at a specific location, solves the technical problem that a smart terminal needs to access a specific WIFI to receive push data, and improves the push effect of data push within a specific range.
[0098] Based on the first embodiment of the data push device of the present invention, a second embodiment of the data push device of the present invention is proposed.
[0099] In this embodiment, the first judgment module 10 is further configured to, if it does not exist, broadcast the encrypted data to be pushed, so that the smart terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful; and / or, if it does not exist, broadcast the encrypted data to be pushed, so that the node that receives the encrypted data to be pushed executes the step of judging whether there is a source node that sends the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed.
[0100] The second judgment module 20 is further configured to, if so, modify the node level corresponding to the field representing the node level to its own node level to obtain the modified encrypted data to be pushed; broadcast the modified encrypted data to be pushed, and the encrypted data to be pushed carries a field representing the node level.
[0101] The second judgment module 20 is further configured to, if so, modify the node level corresponding to the field representing the node level to its own node level to obtain the modified encrypted data to be pushed; broadcast the modified encrypted data to be pushed.
[0102] The first judgment module 10 is further configured to, when receiving the encrypted data to be pushed, determine the node level according to the field representing the node level in the encrypted data to be pushed; when the node level is inconsistent with the preset level, determine that there is a source node sending the encrypted data to be pushed in the data forwarding network.
[0103] Refer to Figure 8 , Figure 8 which is a structural block diagram of another embodiment of the data pushing device of the present invention. The data pushing device includes:
[0104] The decryption module 40 is configured to, when receiving the encrypted data to be pushed through the UWB module, decrypt the encrypted data to be pushed by using the server public key of the authentication server to obtain the data to be pushed;
[0105] The verification module 50 is configured to extract a prefix verification character and a suffix verification character from the data to be pushed, and verify the data to be pushed according to the prefix verification character, the suffix verification character, and a preset verification character;
[0106] The display module 60 is configured to display the data to be pushed when the data to be pushed is successfully verified.
[0107] In this embodiment, when receiving the encrypted data to be pushed through the UWB module, the encrypted data to be pushed is decrypted by using the server public key of the authentication server to obtain the data to be pushed; a prefix verification character and a suffix verification character are extracted from the data to be pushed, and the data to be pushed is verified according to the prefix verification character, the suffix verification character, and a preset verification character; when the data to be pushed is successfully verified, the data to be pushed is displayed. This embodiment decrypts the encrypted data to be pushed by using the server public key to obtain the data to be pushed, verifies the data to be pushed according to the prefix verification character, the suffix verification character, and a preset verification character in the data to be pushed, and displays the data to be pushed when the verification is successful, improving data security.
[0108] Other embodiments or specific implementation manners of the data pushing device of the present invention may refer to the above method embodiments, which will not be elaborated herein.
[0109] It should be noted that in this text, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or system comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or elements inherent to such process, method, article or system. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or system comprising that element.
[0110] The serial numbers of the embodiments of the present invention above are only for description and do not represent the superiority or inferiority of the embodiments.
[0111] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as a read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0112] The above are only the preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A data push method, characterized in that, The described data push method is applied to a data forwarding network including multiple nodes, and the multiple nodes communicate with each other through UWB technology. The method includes: When receiving the encrypted data to be pushed, determine whether there is a source node in the data forwarding network that sends the encrypted data to be pushed; If it exists, determine whether the node level of the source node is higher than its own node level. Among the multiple nodes, there is at least one central node and several sub-nodes, and the node level of each sub-node is determined according to the distance between each sub-node and the central node; If the node level of the source node is higher than its own node level, broadcast the encrypted data to be pushed, so that the intelligent terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful. The intelligent terminal is a terminal supporting the UWB function, and the node broadcasts and transmits the encrypted data to be pushed to the intelligent terminal through the UWB; 2. The method according to claim 1, wherein After determining whether there is a source node in the data forwarding network that sends the encrypted data to be pushed when receiving the encrypted data to be pushed, it further includes: If not, broadcast the encrypted data to be pushed, so that the intelligent terminal that receives the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful; And / or, if not, broadcast the encrypted data to be pushed, so that the node that receives the encrypted data to be pushed executes the step of determining whether there is a source node in the data forwarding network that sends the encrypted data to be pushed when receiving the encrypted data to be pushed; 3. The method according to claim 1, wherein The encrypted data to be pushed carries a field representing the node level. After determining whether the node level of the source node is higher than its own node level, it further includes: If so, modify the node level corresponding to the field representing the node level to its own node level to obtain the modified encrypted data to be pushed; Broadcast the modified encrypted data to be pushed; 4. The method according to any one of claims 1 to 3, characterized in that The node level of the central node is higher than that of each sub-node; 5. The method according to any one of claims 1 to 3, characterized in that, Determining whether there is a source node in the data forwarding network that sends the encrypted data to be pushed when receiving the encrypted data to be pushed includes: When receiving the encrypted data to be pushed, determine the node level according to the field representing the node level in the encrypted data to be pushed; When the node level is inconsistent with the preset level, determine that there is a source node in the data forwarding network that sends the encrypted data to be pushed; 6. The method according to any one of claims 1-3, characterized in that, Among the multiple nodes, there is at least one central node. Before determining whether there is a source node in the data forwarding network that sends the encrypted data to be pushed when receiving the encrypted data to be pushed, it further includes: The data sender sends the data to be pushed to the authentication server, and the authentication server is used to encrypt the data to be pushed with added prefix and suffix verification characters through the server private key and return the obtained encrypted data to be pushed to the data sender; The data sending end sends the encrypted data to be pushed to the central node of the data forwarding network; When receiving the encrypted data to be pushed, the central node broadcasts the encrypted data to be pushed.
7. A data push method, characterized in that, The data pushing method is applied to an intelligent terminal provided with a UWB module. The method includes: When receiving the encrypted data to be pushed through the UWB module, decrypt the encrypted data to be pushed using the server public key of the authentication server to obtain the data to be pushed. The encrypted data to be pushed is obtained by broadcasting when it is determined that there is a source node sending the encrypted data to be pushed in the data forwarding network, and the node level of the source node is higher than its own node level. The node broadcasts the encrypted data to be pushed to the intelligent terminal through the UWB. The multiple nodes include at least one central node and several sub-nodes, and the node levels of the sub-nodes are determined according to the distances between the sub-nodes and the central node; Extract a prefix verification character and a suffix verification character from the data to be pushed, and verify the data to be pushed according to the prefix verification character, the suffix verification character and a preset verification character; When the data to be pushed is verified successfully, display the data to be pushed.
8. A data push device, characterized in that, A plurality of data pushing devices form a data forwarding network, and the data pushing devices communicate with each other through UWB technology. The data pushing device includes: A first judgment module, configured to judge whether there is a source node sending the encrypted data to be pushed in the data forwarding network when receiving the encrypted data to be pushed; A second judgment module, configured to, if so, judge whether the node level of the source node is higher than its own node level. The multiple nodes include at least one central node and several sub-nodes, and the node levels of the sub-nodes are determined according to the distances between the sub-nodes and the central node; A broadcast module, configured to, if the node level of the source node is higher than its own node level, broadcast the encrypted data to be pushed, so that the intelligent terminal receiving the encrypted data to be pushed decrypts and verifies the encrypted data to be pushed and displays the encrypted data to be pushed when the verification is successful. The intelligent terminal is a terminal supporting the UWB function, and the data pushing device broadcasts and transmits the encrypted data to be pushed to the intelligent terminal through the UWB.
9. A data push device, characterized in that, The device includes: a memory, a processor, and a data pushing program stored on the memory and executable on the processor. The data pushing program is configured to implement the steps of the data pushing method according to any one of claims 1 to 6 or claim 7.
10. A storage medium, characterized in that, A data pushing program is stored on the storage medium. When the data pushing program is executed by the processor, the steps of the data pushing method according to any one of claims 1 to 6 or claim 7 are implemented.
Citation Information
Patent Citations
UWB communication node and operating method
CN113691977A
Ultra wide band (UWB)-based accurate information push system
CN113709230A