Information publishing method and system
By generating independent communication channels based on the release area and the number of received in the information release system, the problem of network transmission blockage in the public area information release is solved, efficient information release is achieved, and release efficiency and stability are improved.
Patent Information
- Application Number
- CN202410542619.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-04-30
AI Technical Summary
In the public information release in public areas, as user demand increases, network transmission is prone to blockage, resulting in failed information release or too long, affecting the release efficiency.
By determining the target terminal based on the publishing area of the information to be published, and looking for each regional node from the highest area node, generating independent communication channels based on nodes whose number of reception is less than or equal to the preset value, and publishing information, thereby reducing the possibility of network transmission blockage , save network resources and improve release efficiency.
Massive information release is carried out through multiple communication channels, reducing network transmission blockage, saving network resources, improving information release efficiency, and ensuring the stability and speed of information release.
Smart Images

Figure CN118400316B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to an information publishing method and system. Background Art
[0002] At present, public places such as shopping malls or elevators are usually equipped with target terminals for publishing information. The cloud can generate corresponding information and publish it to these target terminals by receiving the information publishing needs of users. However, with the development of the economy, more and more users have the need to publish information, which requires the cloud to send a large amount of information, which is prone to network transmission congestion, resulting in failure of information delivery or too long delivery time, affecting the efficiency of information release. Summary of the invention
[0003] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes an information publishing method, which can improve the efficiency of information publishing.
[0004] According to the information publishing method of the first aspect of the present application, the method includes:
[0005] Determine, according to the publishing area corresponding to each piece of information to be published, each target terminal that receives at least one piece of information to be published;
[0006] Starting from the highest regional node to which the target terminal belongs, searching for each regional node to which the target terminal belongs in sequence;
[0007] According to the number of target terminals corresponding to each of the regional nodes receiving information to be published, determining each target regional node whose number of receiving information to be published is less than or equal to a preset value;
[0008] According to each of the target area nodes, a one-to-one corresponding independent communication channel is generated, so as to send the corresponding information to be published to each of the target terminals through each of the independent communication channels.
[0009] By determining each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published, and starting from the highest regional node to which the target terminal belongs, and searching each regional node to which the target terminal belongs in turn, according to the number of information to be published received by the target terminal corresponding to each regional node, determining each target regional node whose number of information to be published received is less than or equal to a preset value, so as to generate one-to-one corresponding independent communication channels according to each target regional node, so as to send the corresponding information to be published to each target terminal through each independent communication channel. Thus, a large amount of information to be published can be published through multiple communication channels, reducing the possibility of network transmission congestion, and the number of communication channels to be constructed is determined by the number of information to be published received corresponding to each regional node, without having to construct a separate communication channel for each node or terminal that publishes information, thereby saving network resources while improving the efficiency of information publishing.
[0010] According to an embodiment of the present application, the preset value is determined according to a peak value of the information to be published that the target terminal needs to receive.
[0011] According to one embodiment of the present application, it also includes:
[0012] A publishing area of the information to be published is determined according to the positioning information of the user terminal that uploads the information to be published.
[0013] According to an embodiment of the present application, determining a publishing area of the information to be published according to the location information of the user terminal that uploads the information to be published includes:
[0014] Determining multiple candidate areas according to the positioning information of the user terminal;
[0015] The publishing area of the information to be published is determined according to the historical information publishing amount of each candidate area.
[0016] According to an embodiment of the present application, determining the publishing area of the information to be published according to the information publishing amount of each candidate area includes:
[0017] Sorting the candidate regions according to the distance between the candidate regions and the positioning information to obtain a candidate region sequence;
[0018] Obtaining a first difference Δ1 and a first business district distance d1 according to the historical information delivery amount and coordinate position of the target candidate area in the candidate area sequence, and the historical information delivery amount and coordinate position of the previous candidate area of the target candidate area in the candidate area sequence;
[0019] Obtaining a second difference Δ2 and a second business district distance d2 according to the historical information delivery amount and coordinate position of the target candidate area in the candidate area sequence, and the historical information delivery amount and coordinate position of the previous candidate area of the target candidate area in the candidate area sequence;
[0020] According to the model Obtaining a target value, and determining, from each of the candidate areas, the release area whose historical information delivery volume matches the target value;
[0021] The target candidate area is the area with the largest amount of historical information delivery, and L represents the amount of historical information delivery in the community or building with the smallest amount of historical information delivery in the target candidate area.
[0022] According to an embodiment of the present application, starting from the highest regional node to which the target terminal belongs, searching in sequence for each regional node to which the target terminal belongs includes:
[0023] According to the location information of the target terminal, starting from the provincial regional node to which the target terminal belongs, the municipal regional node, district / county regional node, business district regional node, business district grouping regional node and terminal coordinate node to which the target terminal belongs are searched in sequence.
[0024] According to an embodiment of the present application, sending the corresponding information to be published to each target terminal through each independent communication channel includes:
[0025] Generate threads corresponding to the elements according to the elements constituting the information to be published;
[0026] Using each of the threads to send each of the elements of the published information to the target terminal respectively through the independent communication channel;
[0027] Each of the elements includes playback material and playback configuration.
[0028] According to the second aspect of the present application, the information publishing device includes:
[0029] A terminal determination module, used to determine each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published;
[0030] A node search module, used to search for each regional node to which the target terminal belongs, starting from the highest regional node to which the target terminal belongs;
[0031] A node determination module, used to determine each target regional node whose number of received information to be published is less than or equal to a preset value according to the number of received information to be published by the target terminal corresponding to each regional node;
[0032] The information publishing module is used to generate one-to-one corresponding independent communication channels according to each target area node, so as to send the corresponding information to be published to each target terminal through each independent communication channel.
[0033] An electronic device according to an embodiment of the third aspect of the present application includes a processor and a memory storing a computer program, and when the processor executes the computer program, the information publishing method described in any of the above embodiments is implemented.
[0034] According to the information publishing system of the fourth aspect of the present application, the system includes a cloud, a user terminal and a target terminal, wherein the user terminal is communicatively connected to the cloud, and the target terminal is communicatively connected to the cloud;
[0035] The user terminal is used to send the information to be published to the cloud;
[0036] The cloud is used to execute the information publishing method as described in any of the above embodiments, such as receiving information to be published uploaded by a user terminal, and determining each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published; starting from the highest regional node to which the target terminal belongs, searching for each regional node to which the target terminal belongs in turn; determining each target regional node whose number of received information to be published is less than or equal to a preset value according to the number of received information to be published by the target terminal corresponding to each regional node; generating one-to-one corresponding independent communication channels according to each target regional node, so as to send the corresponding information to be published to each target terminal through each independent communication channel. The cloud is also used to review the information content and generate a playback plan to send to the target terminal after receiving the information publishing demand, and send instructions to the target terminal, so as to achieve the effect of remotely controlling the target terminal;
[0037] The target terminal is used to receive the playback plan sent from the cloud and play the information in the plan on the target terminal, and is also used to receive instructions sent from the cloud and execute instruction operations.
[0038] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:
[0039] By determining each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published, and starting from the highest regional node to which the target terminal belongs, and searching each regional node to which the target terminal belongs in turn, according to the number of information to be published received by the target terminal corresponding to each regional node, determining each target regional node whose number of information to be published received is less than or equal to a preset value, so as to generate one-to-one corresponding independent communication channels according to each target regional node, so as to send the corresponding information to be published to each target terminal through each independent communication channel. Thus, a large amount of information to be published can be published through multiple communication channels, reducing the possibility of network transmission congestion, and the number of communication channels to be constructed is determined by the number of information to be published received corresponding to each regional node, without having to construct a separate communication channel for each node or terminal that publishes information, thereby saving network resources while improving the efficiency of information publishing. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 A first flow chart of the information publishing method of some embodiments of the present application;
[0042] Figure 2 A second flow chart of the information publishing method of some embodiments of the present application;
[0043] Figure 3 It is a structural diagram of an information publishing device provided in an embodiment of the present application;
[0044] Figure 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0045] Figure 5 It is a structural diagram of the information publishing system provided in the embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0047] The information publishing method and device provided in the embodiments of the present application will be introduced and explained in detail through several specific embodiments.
[0048] In one embodiment, a method for information publishing is provided, which is applied to a cloud for information publishing. The cloud may be a cloud server that provides basic cloud computing services such as cloud services, cloud message database, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and large message data and artificial intelligence sampling point devices.
[0049] like Figure 1 As shown, an information publishing method provided in this embodiment includes:
[0050] S101, determining target terminals that receive at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published;
[0051] S102, starting from the highest regional node to which the target terminal belongs, searching for each regional node to which the target terminal belongs in sequence;
[0052] S103, determining each target regional node whose number of received information to be published is less than or equal to a preset value according to the number of received information to be published by the target terminal corresponding to each of the regional nodes;
[0053] S104: Generate one-to-one corresponding independent communication channels according to each of the target area nodes, so as to send the corresponding information to be published to each of the target terminals through each of the independent communication channels.
[0054] Among them, the information to be released is the information to be released received from the user terminal of the user. The user terminal can be a mobile terminal, such as a laptop, a mobile phone, and a communication watch. The user terminal can enter the information release page by scanning a QR code, etc., and form the information to be released by inputting the elements that constitute the information to be released. Among them, each element can include the content to be released, such as the playback material to be released and the playback configuration, such as the playback plan of the information to be released. After the information to be released is formed, the information to be released can be uploaded to the cloud through the placeAnInformation() interface. The playback material can include static pictures, audio and video, Word, Excel, PPT, PDF, web pages, and streaming media. The playback configuration can include interstitial, exclusive, ordinary, and shims, among which the playback priority is interstitial>exclusive>ordinary>shims, and the playback mode is ordinary playback configuration will be displayed in the target terminal in a carousel. In addition, the playback configuration can also include the delivery time and delivery duration of the information to be released. Exemplarily, if there are multiple pieces of information to be released with the same delivery time delivered to the same target terminal, the playback configuration of the information to be released with the same delivery time is a carousel display.
[0055] After receiving the information to be published uploaded by a user terminal, the cloud can send a confirmation signal to the user terminal to make the user terminal confirm whether to publish the information to be published. For example, a window with a modification control and a confirmation control is sent to the user terminal. If the modification control is touched, the user terminal triggers the modification of the information to be published, and the user terminal inputs the corresponding modification request; if the confirmation control is touched, the user terminal sends a confirmation instruction to the cloud. Among them, if a modification request is received from the user terminal based on the confirmation signal, the information to be published is modified according to the modification request, such as adding or deleting playback materials to the information to be published. If a confirmation instruction is received from the user terminal based on the confirmation signal, it can be confirmed that the information to be published needs to be published, and the payment status of the information to be published can be detected at this time. If the information to be published is in an unpaid state, a prompt signal is generated and sent to the user terminal to prompt the user to pay for the information to be published; if the information to be published is in a paid state, the information publishing process is entered to publish the information to be published to the target terminal.
[0056] In some embodiments, the information to be released is information that has been reviewed by the cloud. Specifically, before releasing the information to be released, the cloud may first review the information to be released, such as using the Content Moderation() intelligent review algorithm to detect the playback material of the information to be released. If the playback material of the information to be released fails to pass the review, a prompt message is sent to the user terminal that uploaded the information to be released to prompt the user to modify or delete the playback material; if the review passes, the release process of the information to be released can be entered.
[0057] Alternatively, the user terminal can upload to the cloud the elements that make up the information to be released, such as the playback materials and playback configurations that need to be delivered. The cloud reviews each element, and after the review is passed, generates the corresponding information to be released based on each element and enters the release process of the information to be released.
[0058] When entering the release process of the information to be released, for any information to be released, the release area assigned to the information to be released can be obtained first. The release area is used to indicate the area where the information to be released is played. For example, the release area can be a business district, a community, or a building, etc. The release area of the information to be released can be selected by the cloud or by the user terminal that uploads the information to be released.
[0059] After obtaining the publishing area corresponding to any piece of information to be published, each terminal used for information publishing in the publishing area can be determined as each target terminal receiving the information to be published, so that each target terminal receiving at least one piece of information to be published can be determined according to the publishing area corresponding to each piece of information to be published. The target terminal can be an advertising screen or other terminal with a large screen display.
[0060] After determining each target terminal that receives at least one piece of information to be published, for any target terminal, the highest regional node to which it belongs can be determined according to the location information of the target terminal, and starting from the highest regional node, the regional nodes to which the target terminal belongs are searched in sequence according to the location information of the target terminal. The location information of the target terminal can be the longitude and latitude of the target terminal.
[0061] In some embodiments, the regional nodes can be hierarchically divided according to provinces, cities, districts / counties, and business districts to ensure the subordination relationship between regional nodes at each level. The provincial regional node is the highest regional node, the municipal regional node is the next-level regional node of the provincial regional node, the district / county regional node is the next-level regional node of the municipal regional node, and the business district regional node is the next regional node of the district / county regional node. Exemplarily, a tree topology structure can be used to represent the hierarchical relationship between regional nodes, such as G=(V,E), where: the vertex set V={x丨x belongs to a certain data object set} is a finite non-empty set; E={(x, y)丨x, y belong to V&&Path(x, y)} is a finite set of relationships between vertices, also called the edge set, and (x, y) represents a one-way path from x to y, which is directional and points from the parent node to the child node. First, all provincial-level nodes are the highest regional nodes, the node content is the province name and a pointer to all municipal regional nodes under the province; the content of the municipal regional node is the city name and a pointer to all district / county regional nodes under the city; the content of the district / county regional node is the city name and a pointer to all business district regional nodes under the district / county; the content of the business district regional node is the business district name and a pointer to all grouped regional nodes under the business district; the content of the grouped regional node is the group name and a pointer to all terminal coordinate nodes under the group; the content of the terminal coordinate node is the device ID of the terminal for information publishing and its terminal coordinates.
[0062] In some embodiments, for any target terminal, according to its location information, starting from the provincial regional node to which the target terminal belongs, the municipal regional node, district / county-level regional node, business district regional node, business district grouped regional node, and terminal coordinate node to which the target terminal belongs can be searched in sequence. For example, through BFS (Breadth-First Search), starting from the provincial regional node, traverse the tree topology structure to find the shortest path from the provincial regional node to the target terminal, so as to obtain the provincial regional node, municipal regional node, district / county-level regional node, business district regional node, business district grouped regional node, and terminal coordinate node to which the target terminal belongs. In this way, based on the location information of the target terminal, the regional nodes to which the target terminal belongs can be quickly found, improving the node search efficiency.
[0063] After determining the regional nodes to which any target terminal belongs, for any regional node, the number of information to be released received by each target terminal under the regional node can be counted. For example, for provincial regional node A, if there are target terminals 1, 2, and 3 under the provincial regional node A, the number of information to be released received by target terminals 1, 2, and 3 can be used as the number of information to be released received corresponding to the provincial regional node A. Similarly, the number of information to be released received corresponding to all other regional nodes can be counted, such as the number of information to be released received corresponding to the municipal regional node B at the next level of the provincial regional node A.
[0064] After obtaining the number of information to be published corresponding to each regional node, the regional nodes whose number of information to be published is less than or equal to the preset value can be determined from the regional nodes as the target regional nodes. The preset value can be set according to the actual situation.
[0065] Exemplarily, the target regional nodes can be searched in sequence starting from the highest regional node among the regional nodes. If the number of information to be released corresponding to the provincial regional node A is less than or equal to the preset value, the provincial regional node A can be determined as the target regional node. Since the number of information to be released received by the regional nodes of each level under the provincial regional node A is necessarily less than that of the provincial regional node A, there is no need to detect the number of information to be released received by each regional node under the provincial regional node A. If the number of information to be released corresponding to the provincial regional node A is greater than the preset value, then the number of information to be released received by all municipal regional nodes under the provincial regional node A is searched from each regional node. If the number of information to be released received by a certain municipal regional node B under the provincial regional node A is less than or equal to the preset value, then the municipal regional node B is determined as the target regional node; if the number of information to be released received by a certain municipal regional node B under the provincial regional node A is greater than the preset value, then the number of information to be released received by all district / county regional nodes under the municipal regional node B is searched from each regional node, and so on.
[0066] After determining each target regional node, each independent communication channel corresponding to each regional node can be generated. For example, if a target regional node is a provincial regional node A, a corresponding independent communication channel is generated for the path formed by the provincial regional node A, so that the information to be released to the target terminal under the provincial regional node A is transmitted through the independent communication channel. If the target regional node is not the highest regional node, the corresponding independent communication channel is generated according to the target regional node and its upper regional nodes. If the target regional node is a district / county regional node C, and its upper regional nodes are the provincial regional node A and the municipal regional node B, respectively, a corresponding independent communication channel is generated for the path formed by the provincial regional node A and the municipal regional node B, so that the information to be released to the target terminal under the municipal regional node B is transmitted through the independent communication channel. Among them, the independent communication channel can be allocated with fixed network resources, and its network resources are not shared with other communication channels.
[0067] After generating independent communication channels corresponding to each target area node, the corresponding information to be published can be sent to each target terminal through each independent communication channel, thereby reducing the amount of data transmitted through any communication channel, thereby reducing the possibility of network transmission congestion and improving the efficiency of information publishing.
[0068] Among them, independent communication channels can be constructed through the TCP / IP protocol group. The TCP / IP protocol group is a set of protocols, which are divided into application protocols, routing control protocols, transmission protocols and Internet protocols.
[0069] When publishing any information to be published, the information to be published can be published through three-way handshake and four-way handshake. The specific process is:
[0070] In a single handshake, the initial trigger state is initiated by the target terminal. First, the flag bit SYN is marked as 1, and then a specific number is randomly generated. The flag bit SYN and the random number of the target terminal are packaged into a data packet and transmitted to the cloud. After the data packet is transmitted, the target terminal will enter a waiting state; the initial trigger state of the second handshake is that the cloud receives a data packet with a flag bit and a random number sent by the target terminal. If the cloud does not receive the data packet, the connection fails. When the flag bit is 1 in the data packet, the cloud will receive the situation that the target terminal wants to establish a connection with it. At this time, the cloud will mark both the flag bit SYN and the response bit ACK as 1, and the secondary response bit ack will be assigned a number that is the random number sent from the target terminal plus one. After that, the cloud will generate a random number, and then package the flag bit SYN, the response bit ACK, the secondary response bit ack and the random number into a data packet, and transmit it to the target terminal. At this time, the cloud will enter the waiting state; the initial trigger state of the three-way handshake is that after the target terminal receives the data packet sent by the cloud, the target terminal will check whether the response bit ACK is 1, and whether the secondary response ack is the number of the random number it originally generated plus one. When the confirmation is completed, the target terminal will set the response bit flag to 1, and the secondary response bit is equal to the random number sent by the cloud plus one, and then repackage and send it to the cloud. When the cloud receives the second data packet sent by the target terminal, the cloud will once again determine whether the response bit ACK is 1 and whether the secondary response bit ack is the number of the random number it generated plus one. If the cloud is indeed finished, it means that the two have established a connection, and the cloud can now send the information to be released to the target terminal. The four waves are to determine the separation relationship between the cloud and the target terminal. The process is: the initial trigger state of a wave is when the target terminal decides to stop transmitting data, a number will be randomly generated, and then the target terminal will enter the waiting state. At this time, the target terminal informs the cloud that all its data has been sent; the initial trigger state of the second wave is that the cloud has received a data packet sent by the target terminal, which contains a random number. At this time, the cloud will make its secondary response bit ack equal to the random number sent by the target terminal plus one and send ack to the target terminal. At this time, the cloud indicates to the target terminal that it has received the request of the target terminal. After the target terminal receives the response sent by the cloud, it will enter the second waiting state; the initial trigger state of the third wave is that the cloud has also sent all the data that needs to be sent to the target terminal. At this time, the cloud system will generate a random number and send it to the target terminal; the initial trigger state of the fourth wave is that the target terminal receives a data packet with a random number sent by the cloud, marks the response bit ACK as 1 and sets the value of the secondary response bit ack equal to the random number sent by the cloud plus one, and then packages it into a data packet and sends it to the cloud.Finally, the target terminal will wait for a while. If the cloud has received the data packet sent by the target terminal, it will stop sending data to the target terminal and disconnect.
[0071] By determining each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published, and starting from the highest regional node to which the target terminal belongs, and searching each regional node to which the target terminal belongs in turn, according to the number of information to be published received by the target terminal corresponding to each regional node, determining each target regional node whose number of information to be published received is less than or equal to a preset value, so as to generate one-to-one corresponding independent communication channels according to each target regional node, so as to send the corresponding information to be published to each target terminal through each independent communication channel. Thus, a large amount of information to be published can be published through multiple communication channels, reducing the possibility of network transmission congestion, and the number of communication channels to be constructed is determined by the number of information to be published received corresponding to each regional node, without having to construct a separate communication channel for each node or terminal that publishes information, thereby saving network resources while improving the efficiency of information publishing.
[0072] In order to improve the rationality of each independent communication channel constructed, in some embodiments, the preset value compared with the number of received information to be published can be determined according to the peak value of the information to be published that the target terminal needs to receive. For example, assuming that the target terminals are target terminal 1, target terminal 2, and target terminal 3, target terminal 1 needs to receive 20 pieces of information to be published, target terminal 2 needs to receive 30 pieces of information to be published, and target terminal 3 needs to receive 30 pieces of information to be published, then the number of information to be published that target terminal 3 needs to receive can be determined as the preset value.
[0073] Since the preset value is the peak value of the information to be published that the target terminal needs to receive, when determining the target area node, at least the target terminal can be found as the target area node, thereby avoiding the situation where the target area node cannot be found, resulting in the inability to generate an independent communication channel for information release, thereby improving the rationality of the constructed independent communication channels.
[0074] In some embodiments, the publishing area of the information to be published may be determined based on the location information of the user terminal that uploaded the information to be published. The location information of the user terminal may be determined based on the current location of the user terminal or based on the map location selected by the user terminal. For example, the user may select any map location in the electronic map displayed on the user terminal, and the map location is the location information of the user terminal.
[0075] After determining the location information of the user terminal, any business district, community or building with a distance from the location information less than a preset distance can be selected as the release area of the information to be released according to the location information. For example, the business district with the shortest distance from the location information can be selected as the release area of the information to be released.
[0076] To further improve the efficiency of information publishing, in some embodiments, such as Figure 2 As shown, determining the publishing area of the information to be published according to the location information of the user terminal that uploads the information to be published includes:
[0077] S201, determining a plurality of candidate areas according to the positioning information of the user terminal;
[0078] S202: Determine a publishing area for the information to be published according to the historical information publishing amount of each candidate area.
[0079] In some embodiments, after obtaining the location information of the user terminal, based on the location information, all business districts within a preset distance range from the location information, such as 5 kilometers, can be used as candidate areas, and the historical information release volume of each candidate area is counted in turn, and the historical information release volume of each candidate area is cyclically sorted to find the mode of the historical information release volume of each candidate area, so as to select any candidate area whose historical information release volume is greater than or equal to the mode from each candidate area as the release area of the information to be released. In this way, the popular area near the location information can be selected for the release of the information to be released, thereby improving the release efficiency of the information to be released.
[0080] In order to quickly determine the hot area and further improve the publishing efficiency of the information to be published, in some embodiments, the publishing area of the information to be published is determined according to the information publishing amount of each candidate area, including:
[0081] Sorting the candidate regions according to the distance between the candidate regions and the positioning information to obtain a candidate region sequence;
[0082] Obtaining a first difference Δ1 and a first business district distance d1 according to the information delivery amount and coordinate position of the target candidate area in the candidate area sequence, and the historical information delivery amount and coordinate position of the previous candidate area of the target candidate area in the candidate area sequence;
[0083] Obtaining a second difference Δ2 and a second business district distance d2 according to the historical information delivery amount and coordinate position of the target candidate area in the candidate area sequence, and the historical information delivery amount and coordinate position of the previous candidate area of the target candidate area in the candidate area sequence;
[0084] According to the model Obtaining a target value, and determining, from each of the candidate areas, the release area whose historical information delivery volume matches the target value;
[0085] Wherein, L represents the historical information delivery amount of the community or building with the smallest historical information delivery amount in the target candidate area.
[0086] In some embodiments, after determining each candidate area, each candidate area may be sorted from near to far according to the distance between each candidate area and the positioning information to obtain a sequence of each candidate area. The candidate area may be a business district.
[0087] After obtaining the candidate area sequences, the area with the largest amount of historical information delivery in the candidate area sequence can be used as the target candidate area, and then the first difference Δ1 is obtained based on the historical information delivery of the target candidate area and the historical delivery of the next candidate area of the target candidate area in the candidate area sequence, that is, Δ1=historical delivery of the target candidate area-historical delivery of the next candidate area of the target candidate area. And, based on the historical information delivery of the target candidate area and the historical delivery of the previous candidate area of the target candidate area in the candidate area sequence, the second difference Δ2 is obtained, that is, Δ2=historical delivery of the target candidate area-historical delivery of the previous candidate area of the target candidate area.
[0088] In addition, the historical information delivery volume L of the community or building with the smallest historical information delivery volume in the target candidate area can also be obtained.
[0089] After obtaining Δ1, Δ2, d1, d2 and L, the above parameters can be input into the mode calculation model to obtain the target value M0:
[0090]
[0091] After obtaining the target value M0, the candidate areas whose historical information delivery volume is greater than or equal to the target value M0 can be determined as hot areas, and any hot area can be used as the release area corresponding to the information to be released. In this way, the hot areas can be quickly determined without the need to perform circular sorting to find the majority to determine the hot areas for information release, thereby improving the release efficiency of the information to be released.
[0092] To further improve the publishing efficiency of the information to be published, in some embodiments, when sending the corresponding information to be published to the target terminal through an independent communication channel, threads corresponding to each element can be generated according to each element constituting the information to be published, so as to send each element of the published information to the target terminal through the independent communication channel using each thread. Each element includes a playback material and a playback configuration.
[0093] For example, for a certain information to be released that needs to be sent, the playback materials that constitute the information to be released, such as static pictures, audio and video, Word, Excel, PPT, PDF, web pages or streaming media, and the playback configuration of the information to be released, such as the delivery duration, delivery time, etc., can be obtained. Then, corresponding threads are generated according to each element of the information to be released, and each thread is used to send the corresponding element.
[0094] After generating threads corresponding to each element, each element of the information to be published can be sent to the target terminal using the corresponding thread, so that the target terminal forms the corresponding information to be published in the target terminal according to each element received from each thread.
[0095] By generating threads corresponding to each element of the information to be published, each thread can send each element of the information to be published to the target terminal through an independent communication channel, so as to achieve multi-threaded synchronous release of the information to be published, and improve the release efficiency of the information to be published. In addition, when a network failure occurs, even if part of the information to be published is not completed, the unfinished information to be published can continue to be released after the network failure is restored, effectively solving the problem of failure to release the information to be published due to network failure.
[0096] After receiving the information to be released, the target terminal can display the information to be released on the display screen of the target terminal according to the playback material and playback configuration of the information to be released.
[0097] The information publishing device provided by the present application is described below. The information publishing device described below and the information publishing method described above can be referenced to each other.
[0098] In one embodiment, if Figure 3 As shown, an information publishing device is provided, comprising:
[0099] The terminal determination module 210 is used to determine each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published;
[0100] A node search module 220, configured to search for each regional node to which the target terminal belongs, starting from the highest regional node to which the target terminal belongs;
[0101] The node determination module 230 is used to determine each target regional node whose number of received information to be published is less than or equal to a preset value according to the number of received information to be published by the target terminal corresponding to each regional node;
[0102] The information publishing module 240 is used to generate one-to-one corresponding independent communication channels according to each of the target area nodes, so as to send the corresponding information to be published to each of the target terminals through each of the independent communication channels.
[0103] By determining each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published, and starting from the highest regional node to which the target terminal belongs, and searching each regional node to which the target terminal belongs in turn, according to the number of information to be published received by the target terminal corresponding to each regional node, determining each target regional node whose number of information to be published received is less than or equal to a preset value, so as to generate one-to-one corresponding independent communication channels according to each target regional node, so as to send the corresponding information to be published to each target terminal through each independent communication channel. Thus, a large amount of information to be published can be published through multiple communication channels, reducing the possibility of network transmission congestion, and the number of communication channels to be constructed is determined by the number of information to be published received corresponding to each regional node, without having to construct a separate communication channel for each node or terminal that publishes information, thereby saving network resources while improving the efficiency of information publishing.
[0104] In one embodiment, the preset value is determined according to a peak value of the to-be-published information that the target terminal needs to receive.
[0105] In one embodiment, the terminal determination module 210 is further configured to:
[0106] A publishing area of the information to be published is determined according to the positioning information of the user terminal that uploads the information to be published.
[0107] In one embodiment, the terminal determination module 210 is specifically used for:
[0108] Determining multiple candidate areas according to the positioning information of the user terminal;
[0109] The publishing area of the information to be published is determined according to the historical information publishing amount of each candidate area.
[0110] In one embodiment, the terminal determination module 210 is specifically used for:
[0111] Sorting the candidate regions according to the distance between the candidate regions and the positioning information to obtain a candidate region sequence;
[0112] Obtaining a first difference Δ1 and a first business district distance d1 according to the historical information delivery amount and coordinate position of the target candidate area in the candidate area sequence, and the historical information delivery amount and coordinate position of the previous candidate area of the target candidate area in the candidate area sequence;
[0113] Obtaining a second difference Δ2 and a second business district distance d2 according to the historical information delivery amount and coordinate position of the target candidate area in the candidate area sequence, and the historical information delivery amount and coordinate position of the previous candidate area of the target candidate area in the candidate area sequence;
[0114] According to the model Obtaining a target value, and determining, from each of the candidate areas, the release area whose historical information delivery volume matches the target value;
[0115] The target candidate area is the area with the largest amount of historical information delivery, and L represents the amount of historical information delivery in the community or building with the smallest amount of historical information delivery in the target candidate area.
[0116] In one embodiment, the node search module 220 is specifically used to:
[0117] According to the location information of the target terminal, starting from the provincial regional node to which the target terminal belongs, the municipal regional node, district / county regional node, business district regional node, business district grouping regional node and terminal coordinate node to which the target terminal belongs are searched in sequence.
[0118] In one embodiment, the information publishing module 240 is specifically used to:
[0119] Generate threads corresponding to the elements according to the elements constituting the information to be published;
[0120] Using each of the threads to send each of the elements of the published information to the target terminal respectively through the independent communication channel;
[0121] Each of the elements includes playback material and playback configuration.
[0122] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute an information publishing method, for example, including:
[0123] Determine, according to the publishing area corresponding to each piece of information to be published, each target terminal that receives at least one piece of information to be published;
[0124] Starting from the highest regional node to which the target terminal belongs, searching for each regional node to which the target terminal belongs in sequence;
[0125] According to the number of target terminals corresponding to each of the regional nodes receiving information to be published, determining each target regional node whose number of receiving information to be published is less than or equal to a preset value;
[0126] According to each of the target area nodes, a one-to-one corresponding independent communication channel is generated, so as to send the corresponding information to be published to each of the target terminals through each of the independent communication channels.
[0127] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0128] On the other hand, an embodiment of the present application further provides a storage medium, the storage medium includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the information publishing method provided in the above embodiments, for example, including:
[0129] Determine, according to the publishing area corresponding to each piece of information to be published, each target terminal that receives at least one piece of information to be published;
[0130] Starting from the highest regional node to which the target terminal belongs, searching for each regional node to which the target terminal belongs in sequence;
[0131] According to the number of target terminals corresponding to each of the regional nodes receiving information to be published, determining each target regional node whose number of receiving information to be published is less than or equal to a preset value;
[0132] According to each of the target area nodes, a one-to-one corresponding independent communication channel is generated, so as to send the corresponding information to be published to each of the target terminals through each of the independent communication channels.
[0133] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0135] In some embodiments, Figure 5 As shown, an information publishing system is provided, including: a cloud 1, a user terminal 2 and a target terminal 3, wherein the user terminal 2 is connected to the cloud 1 in communication, and the target terminal 3 is connected to the cloud 1 in communication;
[0136] The user terminal 2 is used to send the information to be published to the cloud.
[0137] The cloud 1 is used to execute the information publishing method as described in any of the above embodiments, such as receiving the information to be published uploaded by the user terminal, and determining each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published; starting from the highest regional node to which the target terminal belongs, searching for each regional node to which the target terminal belongs in turn; according to the number of information to be published received by the target terminal corresponding to each regional node, determining each target regional node whose number of information to be published is less than or equal to a preset value; according to each target regional node, generating each independent communication channel corresponding to each other, so as to send the corresponding information to be published to each target terminal through each independent communication channel. The cloud 1 is also used to review the information content and generate a playback plan to send to the target terminal after receiving the information publishing demand, and send instructions to the target terminal to achieve the effect of remotely controlling the target terminal.
[0138] The target terminal 3 is used to receive the playback plan sent from the cloud and play the information in the plan on the target terminal, and is also used to receive instructions sent from the cloud and execute instruction operations.
[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An information publishing method, characterized in that: include: Determine, according to the publishing area corresponding to each piece of information to be published, each target terminal that receives at least one piece of information to be published; Starting from the highest regional node to which the target terminal belongs, searching for each regional node to which the target terminal belongs in sequence; According to the number of target terminals corresponding to each of the regional nodes receiving information to be published, determining each target regional node whose number of receiving information to be published is less than or equal to a preset value; Generate one-to-one corresponding independent communication channels according to each of the target area nodes, so as to send the corresponding information to be published to each of the target terminals through each of the independent communication channels; Starting from the highest regional node to which the target terminal belongs, searching for each regional node to which the target terminal belongs in sequence, including: According to the location information of the target terminal, starting from the provincial regional node to which the target terminal belongs, the municipal regional node, district / county regional node, business district regional node, business district grouping regional node and terminal coordinate node to which the target terminal belongs are searched in sequence.
2. The information publishing method according to claim 1, characterized in that: The preset value is determined according to a peak value of the information to be published that the target terminal needs to receive.
3. The information publishing method according to claim 1, characterized in that: Also includes: A publishing area of the information to be published is determined according to the positioning information of the user terminal that uploads the information to be published.
4. The information publishing method according to claim 3, characterized in that: Determining a publishing area of the information to be published according to the location information of the user terminal that uploads the information to be published includes: Determining multiple candidate areas according to the positioning information of the user terminal; The publishing area of the information to be published is determined according to the historical information publishing amount of each candidate area.
5. The information publishing method according to claim 4, characterized in that: Determining the release area of the information to be released according to the information release amount of each candidate area includes: Sorting the candidate regions according to the distance between the candidate regions and the positioning information to obtain a candidate region sequence; Obtaining a first difference Δ1 and a first business district distance d1 according to the historical information delivery amount and coordinate position of the target candidate area in the candidate area sequence, and the historical information delivery amount and coordinate position of the previous candidate area of the target candidate area in the candidate area sequence; Obtaining a second difference Δ2 and a second business district distance d2 according to the historical information delivery amount and coordinate position of the target candidate area in the candidate area sequence, and the historical information delivery amount and coordinate position of the previous candidate area of the target candidate area in the candidate area sequence; According to the model Obtaining a target value, and determining, from each of the candidate areas, the release area whose historical information delivery volume matches the target value; The target candidate area is the area with the largest amount of historical information delivery, and L represents the amount of historical information delivery in the community or building with the smallest amount of historical information delivery in the target candidate area.
6. The information publishing method according to any one of claims 1 to 4, characterized in that: Sending the corresponding information to be published to each target terminal through each independent communication channel includes: Generate threads corresponding to the elements according to the elements constituting the information to be published; Using each of the threads to send each of the elements of the information to be published to the target terminal respectively through the independent communication channel; Each of the elements includes playback material and playback configuration.
7. An information publishing device, characterized in that: include: A terminal determination module, used to determine each target terminal that receives at least one piece of information to be published according to the publishing area corresponding to each piece of information to be published; A node search module, used to search for each regional node to which the target terminal belongs, starting from the highest regional node to which the target terminal belongs; A node determination module, used to determine each target regional node whose number of received information to be published is less than or equal to a preset value according to the number of received information to be published by the target terminal corresponding to each regional node; An information publishing module, used for generating one-to-one corresponding independent communication channels according to each target area node, so as to send the corresponding information to be published to each target terminal through each independent communication channel; The node search module is specifically used for: According to the location information of the target terminal, starting from the provincial regional node to which the target terminal belongs, the municipal regional node, district / county regional node, business district regional node, business district grouping regional node and terminal coordinate node to which the target terminal belongs are searched in sequence.
8. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. An information publishing system, characterized in that: The system includes a cloud, a user terminal and a target terminal, wherein the user terminal is communicatively connected to the cloud, and the target terminal is communicatively connected to the cloud; The user terminal is used to send the information to be published to the cloud; The cloud is used to execute the information publishing method as described in any one of claims 1 to 6.
