CN109299425B - Published content modification method, device, server, terminal and storage medium - Google Patents

Published content modification method, device, server, terminal and storage medium Download PDF

Info

Publication number
CN109299425B
CN109299425B CN201811452740.3A CN201811452740A CN109299425B CN 109299425 B CN109299425 B CN 109299425B CN 201811452740 A CN201811452740 A CN 201811452740A CN 109299425 B CN109299425 B CN 109299425B
Authority
CN
China
Prior art keywords
content
modified
server
information
receiver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811452740.3A
Other languages
Chinese (zh)
Other versions
CN109299425A (en
Inventor
杨昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Dajiaying Information Technology Co Ltd
Original Assignee
Suzhou Dajiaying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Dajiaying Information Technology Co Ltd filed Critical Suzhou Dajiaying Information Technology Co Ltd
Priority to CN201811452740.3A priority Critical patent/CN109299425B/en
Publication of CN109299425A publication Critical patent/CN109299425A/en
Application granted granted Critical
Publication of CN109299425B publication Critical patent/CN109299425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Abstract

The embodiment of the invention discloses a method, a device, a server, a terminal and a storage medium for modifying published contents. The method comprises the following steps: acquiring modified content obtained by modifying published content by a publisher; determining a modified data volume according to the published content and the modified content; acquiring information of a designated receiver; and if the modified data size is matched with the information of the specified receiver, replacing the published content with the modified content, and sending the modified content to the specified receiver. The embodiment of the invention does not need to release new content after deleting the released content, has small data processing amount and occupies less resources; moreover, the server only directly replaces the published content and does not modify the original information such as praise and comment, so that the information such as praise and comment is retained, and the user experience is improved. And the data volume is modified according to the information limit of the receiver, which is beneficial to saving server resources.

Description

Published content modification method, device, server, terminal and storage medium
Technical Field
The embodiment of the invention relates to the internet technology, in particular to a method, a device, a server, a terminal and a storage medium for modifying published contents.
Background
With the development of the content publishing platform based on the social relationship, a user can see the published content by publishing the content on the content publishing platform, so that other users having a social relationship with the user can see the published content.
In some cases, a user has a modification requirement on the published content, and in the prior art, the user needs to delete the published content and interaction information such as praise and comment, and submit the re-edited content again. For the server, it is necessary to delete the published content and the mutual information such as praise and comment on the terminals of other users who have social relationships with the user, receive the content submitted again by the user, and publish the content to the terminals of other users.
Therefore, in the prior art, the method for modifying the published content by the user comprises deleting the published content and resubmitting new content, and the operation is complicated; correspondingly, the server needs a large amount of data to be processed, and occupies a large amount of server resources; moreover, after the new content is released, the original mutual information such as praise and comment is lost, and the user experience is influenced.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a server, a terminal and a storage medium for modifying published contents, so as to reduce the data processing amount and facilitate the operation of a user.
In a first aspect, an embodiment of the present invention provides a method for modifying published content, including:
acquiring modified content obtained by modifying published content by a publisher;
determining a modified data volume according to the published content and the modified content;
acquiring information of a designated receiver;
and if the modified data size is matched with the information of the specified receiver, replacing the published content with the modified content, and sending the modified content to the specified receiver.
In a second aspect, an embodiment of the present invention provides another method for modifying published content, including:
sending the modified content obtained by modifying the published content to the server so that the server can determine the modified data volume according to the published content and the modified content;
sending the information of the appointed receiver to the server so that the server can judge that the modified data size is matched with the information of the appointed receiver, replacing the published content with the modified content, and sending the modified content to the appointed receiver;
and if the modified content is successfully replaced, updating and displaying the modified content.
In a third aspect, an embodiment of the present invention further provides a device for modifying published content, including:
the first acquisition module is used for acquiring modified contents obtained by modifying the published contents by a publisher;
the determining module is used for determining the modified data volume according to the published content and the modified content;
the second acquisition module is used for acquiring the information of the appointed receiver;
and the sending module is used for replacing the released content with the modified content and sending the modified content to the specified receiver if the modified data size is matched with the information of the specified receiver.
In a fourth aspect, an embodiment of the present invention further provides another apparatus for modifying published content, where the apparatus includes:
the first sending module is used for sending the modified content obtained by modifying the published content to the server so that the server can determine the modified data volume according to the published content and the modified content;
the second sending module is used for sending the information of the appointed receiver to the server so that the server can judge that the modified data size is matched with the information of the appointed receiver, replace the released content with the modified content and send the modified content to the appointed receiver;
and the display module is used for updating and displaying the modified content if the modified content is successfully replaced.
In a fifth aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method for modifying published content of any of the embodiments.
In a sixth aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method for modifying published content of any of the embodiments.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method for modifying published content according to any embodiment.
In the embodiment of the invention, the modified content obtained by modifying the published content by the publisher is obtained, so that the publisher can modify the published content; determining a modified data volume according to the published content and the modified content; acquiring information of a designated receiver; if the modified data size is matched with the information of the designated receiver, the released content is replaced by the modified content, and the modified content is sent to the designated receiver, so that the released content does not need to be deleted and then new content is released again, the operation of a user is facilitated, the data processing size is small, and the occupied resources are small; moreover, the server only directly replaces the published content and does not modify the original information such as praise and comment, so that the information such as praise and comment is retained, and the user experience is improved. And the data volume is modified according to the information limit of the receiver, which is beneficial to saving server resources.
Drawings
Fig. 1a is a flowchart of a method for modifying published content according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of a publishing platform architecture according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for modifying published content according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for modifying published content according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for modifying published content according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a published content modifying apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a published content modifying apparatus according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an eighth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1a is a flowchart of a published content modification method according to an embodiment of the present invention, where the present embodiment is applicable to a case where modified published content is modified and then is distributed to a specified recipient, and the method may be executed by a published content modification apparatus, which may be implemented by hardware and/or software and is generally integrated in a server. Fig. 1b is a schematic diagram of a publishing platform architecture provided in an embodiment of the present invention, and with reference to fig. 1a and fig. 1b, the method for modifying published content provided in the embodiment of the present invention specifically includes the following operations:
s110, modified content obtained after the publisher modifies the published content is obtained.
Optionally, published content includes, but is not limited to, published characters (including text, english characters, punctuation marks, emoticons, etc.) and multimedia content including, but not limited to, pictures, video, music, etc.
Alternatively, the publisher may modify the published content including: one or more of addition, reduction, and replacement of published content. For example, adding characters, reducing characters, replacing pictures, replacing music, etc.
Referring to fig. 1b, after the publisher a modifies the published content, the modified content, for example, content 2, is sent to the server 1. For the sake of convenience of distinction, the dotted link represents a transmission link of the content 1, and the solid link represents a transmission link of the content 2.
And S120, determining the modified data volume according to the published content and the modified content.
After the publisher publishes the published content, the server stores the published content. And after the server acquires the modified content, comparing the difference between the modified content and the published content.
Optionally, if the modified content includes a character, determining a modified data size of the modified character relative to the issued character by using a character string comparison method; if the modified content comprises the picture, determining the modified data volume of the modified picture relative to the published picture by adopting a picture matching method; if the modified content comprises music, determining the modified data volume of the modified music relative to the published music by adopting a voiceprint recognition method or a music cover and name matching method; and if the modified content comprises the video, determining the modified data volume of the modified video relative to the published video by adopting a video cover and name matching method.
S130, information of the appointed receiver is obtained.
In this embodiment, the publisher may select the designated recipient, so that the designated recipient receives the modified content. For example, a publisher may select at least one group and/or at least one friend from among groups or friends having a social relationship with itself as the designated recipient. Of course, in the case that the publisher does not select the designated recipient, the server may default to all groups and all friends having social relationships with the publisher as the designated recipient, so as to completely cover the social circle of the publisher with the modified content; the server can also randomly select the partial group and/or partial friends as the designated receivers, so that the modified content partially covers the social circles of the publishers.
It is worth noting that the designated recipients of the modified content should be a subset of the recipients of the published content. For example, in fig. 1B, at an initial time, a publisher a sends a content 1 (published content) to a server 1, the server 1 sends the content 1 to a recipient B, and a server 2, the server 2 sends the content 1 to a recipient C and a recipient D. The intended recipient of content 2 after modification of content 1 may be one or more of B, C and D.
S140, judging whether the modified data size is matched with the information of the designated receiver, if so, executing S141, otherwise, executing S142.
And S141, replacing the published content with the modified content, and sending the modified content to a specified receiver.
And S142, ending the operation.
Continuing with fig. 1b, server 1 needs to send modified content 2 to the intended recipient, and some need even to send content 2 to the intended recipient via another server (server 2). Based on this, the larger the modification data amount is, the more resources are consumed by the server. In order to save the consumption resources of the server, the present embodiment limits the modification data amount.
As can be seen in connection with fig. 1b, the resource consumption of the server is related to the information of the intended recipient. Optionally, the information specifying the recipients comprises specifying a number and/or a geographic location of the recipients. For example, the greater the number of designated recipients, the more widely distributed the geographic location, and the greater the number of servers needed, the less the amount of modification data should be.
Based on the above analysis, if the modification data amount does not match the information of the designated receiver, which indicates that the resource consumption of the server is excessive, the operation is ended.
And if the modified data volume is matched with the information of the designated receiver, which indicates that the resource consumption of the server is within the bearable range, replacing the published content with the modified content, and then sending the modified content to the designated receiver. Optionally, the modification record is saved in the server, the published content is replaced by the modified content, and then the modified content is sent to the specified receiver or another server linked with the specified receiver, and then the modified content is sent to the specified receiver by another server. Optionally, the server replaces the published content cached by the designated receiver and the published content cached locally by the publisher with the modified content, so that the modified content can still be displayed when the designated receiver and the publisher are in the offline state.
For example, in fig. 1B, assuming that the specified recipients include recipient B and recipient C, server 1 sends content 2 to recipient B and server 2, and server 2 sends content 2 to recipient C, so that recipient B and recipient C can see content 2, and recipient D still sees content 1.
In the embodiment, the modified content obtained by modifying the published content by the publisher is obtained, so that the publisher can modify the published content; determining a modified data volume according to the published content and the modified content; acquiring information of a designated receiver; if the modified data size is matched with the information of the designated receiver, the released content is replaced by the modified content, and the modified content is sent to the designated receiver, so that the released content does not need to be deleted and then new content is released again, the operation of a user is facilitated, the data processing size is small, and the occupied resources are small; moreover, the server only directly replaces the published content and does not modify the original information such as praise and comment, so that the information such as praise and comment is retained, and the user experience is improved. And the data volume is modified according to the information limit of the receiver, which is beneficial to saving server resources.
Example two
Fig. 2 is a flowchart of a method for modifying published content according to a second embodiment of the present invention. The embodiment is further optimized on the basis of the optional embodiments of the above embodiment, and optionally, the operation "acquiring information of a specified receiver" is optimized to "showing a selection interface of the receiver to a publisher; receive information specifying the recipient selected by the publisher on the recipient's selection interface ". Optionally, after determining the modified data amount according to the published content and the modified content, and before acquiring the information of the designated receiver, an additional operation "determining the information range of the designated receiver according to the modified data amount" is performed; and prompting the publisher to specify the information range of the receiver, so that the interactivity with the publisher is improved, the publisher is guided, and the user experience is improved. With reference to fig. 2, the following operations are specifically included:
s210, modified content obtained after the publisher modifies the published content is obtained.
Optionally, the publisher triggers an edit button on the published information presentation interface to send a modification request to the server. The server sends a command to the publisher's terminal to accommodate the published content in an editable state in response to the modification request sent by the publisher. And after modifying the published content, the publisher sends the modified content to the server. The server receives the modified content.
Considering that the receiver mostly has seen the published content after it has been published for a while, the publisher has no need to modify the published content. In an optional implementation manner, the server responds to a modification request sent by a publisher, and judges the interval duration between the sending time of the modification request and the sending time of the sent content; if the interval duration is within the preset duration, for example, within 30 minutes, and the modification is allowed, a command is sent to the terminal of the publisher to accommodate the published content in the editable state. And sending a command to the terminal of the publisher to contain the published contents in an editable state. And if the interval duration is not beyond the preset duration, not allowing the modification, and prompting the publisher that the request is overtime. In another alternative embodiment, after the published content is published for a preset time, a command is sent to the publisher to control the edit button to be set in an unavailable state.
Optionally, the server determines whether the modification time is greater than a preset modification time, for example, one time, in response to the modification request sent by the publisher. And if the modification times are larger than the preset times, prompting the publisher that the modification times are exceeded. In another alternative embodiment, after the number of modifications is greater than the preset number, the server directly sends a command to the publisher to control the edit button to be set in an unavailable state. And if the modification times are less than or equal to the preset times, sending a command to the terminal of the publisher to contain the published contents in the editable state.
And S220, determining the modified data volume according to the published content and the modified content.
And S230, determining an information range of the designated receiver according to the modified data amount.
Alternatively, first, the resource consumption amount for performing the publishing operation on the modified content is determined according to the modified data amount.
Then, based on the resource consumption amount, an information range specifying the recipient is determined.
In one example, where the resource consumption comprises 5 data links, then the number of designated recipients is determined to be within 5. In another example, where the resource consumption comprises a number of servers of 3, the geographic location of the designated recipient is determined to be within 3 cities. In yet another example, where the resource consumption comprises 5 data links and 3 servers, then the number of designated recipients is determined to be within 5 and the geographic location is determined to be within 3 cities.
S240, the information range of the specified receiver is prompted to the publisher.
The server sends a message range specifying the receiver to the publisher, for example, "you can select 3 receivers for this operation".
And S250, receiving the information of the designated receiver selected by the publisher on the selection interface of the receiver.
Optionally, the server sends a command to the publisher instructing the publisher's terminal to present the recipient's selection interface. The recipients presented therein include groups and friends having a social relationship with the publisher.
The publisher performs a selection operation on the selection interface of the recipient, such as checking a selection box associated with the recipient. And after the selection of the publisher is completed, triggering a determining button to send the information of the specified receiver to the server. The server receives information specifying a recipient selected by the publisher.
S260, judging whether the information of the designated receiver is in the information range of the designated receiver, and if so, jumping to S271. Otherwise, it jumps to S272.
And S271, replacing the published content with the modified content, and sending the modified content to the specified receiver.
S272, prompting the specified receiver to be not qualified to the publisher, and providing the publisher with the selection opportunity of the specified receiver again.
Optionally, if the information of the specified receiver is within the information range of the specified receiver, prompting the publisher that the modification is successful; otherwise, the publisher is prompted to specify that the recipient is not eligible. Further, the publisher may again be provided with a choice of specifying the recipient. For example, the publisher is presented with a recipient's selection interface, and/or an exit option.
Optionally, after the modified content is sent to the designated recipient, the number of modifications is increased by 1.
In some cases, the pictures in the published content can embody the gist of the published content, and if the effect on the gist of the published content is large after the pictures are added, the pictures are reduced, and the pictures are replaced with the pictures of other contents, the method can be considered to be completely different from the published content, rather than limited modification of the published content. From the recipient's perspective, the recipient first sees the picture in the published content, giving a general idea of the published content. After a period of time, a picture completely different from the picture content in the published content is seen, so that the publisher is mistakenly thought to publish a new piece of content instead of modifying the published content, the new content is confused, and the user experience is influenced.
Based on the above analysis, if the information of the designated recipient is within the information range of the designated recipient, the picture in the modified content and the picture in the published content are further compared, and if the difference between the two is large, for example, the similarity between the two is lower than the preset similarity threshold: and 30%, prompting that the picture editing is not qualified to the publisher, and further, providing modification opportunities to the publisher again. For example, the publisher is provided with a re-edit option, and/or an exit option. If the difference between the two is small, for example, the similarity between the two is higher than a preset similarity threshold: and 30%, indicating that the contents in the two pictures are similar, and possibly only the resolution is different, replacing the published contents with the modified contents, and sending the modified contents to the specified receiver.
Of course, semantic judgment can be further performed on the characters, and the modified content is allowed to replace the published content only when the characters in the modified content and the characters in the published content do not belong to opposite semantics, so that the problem that the published content is replaced by the content with larger semantic difference, and user experience is influenced is avoided.
In the embodiment, the information range of the designated receiver is determined according to the modification data amount; prompting the information range of the designated receiver to the publisher, and receiving the information of the designated receiver sent by the publisher; if the information of the designated receiver is in the information range of the designated receiver, the modified content is used for replacing the published content, and the modified content is sent to the designated receiver, so that the publisher can select the receiver in the information range of the designated receiver according to the modified data volume, namely the designated receiver can be selected to see the modified content; moreover, limited modification is carried out on the published content, so that the publisher can achieve the most desired effect with the least operation, and meanwhile, the server resources are effectively saved.
EXAMPLE III
Fig. 3 is a flowchart of a method for modifying published content according to a third embodiment of the present invention, where the third embodiment is applicable to a case where modified content is released to a specified recipient after the published content is modified, and the method may be executed by a device for modifying published content, where the device may be formed by hardware and/or software and is generally integrated in a terminal. With reference to fig. 3, the method provided by the embodiment of the present invention includes the following operations:
s310, sending the modified content after the published content is modified to a server so that the server can determine the modified data volume according to the published content and the modified content.
Optionally, the publisher triggers an edit button on the published information presentation interface to send a modification request to the server. The server sends a command to the publisher's terminal to accommodate the published content in an editable state in response to the modification request sent by the publisher. And after modifying the published content, the publisher sends the modified content to the server. The server receives the modified content.
Optionally, published content includes, but is not limited to, published characters (including text, english characters, punctuation marks, emoticons, etc.) and multimedia content including, but not limited to, pictures, video, music, etc. Alternatively, the publisher may modify the published content including: one or more of addition, reduction, and replacement of published content. For example, adding characters, reducing characters, replacing pictures, replacing music, etc.
S320, sending the information of the appointed receiver to a server so that the server can judge that the modified data size is matched with the information of the appointed receiver, replacing the published content with the modified content, and sending the modified content to the appointed receiver.
Optionally, receiving a command sent by the server, and displaying a selection interface of a receiver according to the command; then, in response to a selection operation of the publisher on the selection interface of the recipient, information of the specified recipient selected by the publisher is transmitted to the server. Optionally, the publisher performs a selection operation on the selection interface of the recipient, for example, checking a selection box associated with the recipient. And after the selection of the publisher is completed, triggering a determining button to send the information of the specified receiver to the server. The detailed description is given in the above embodiments, and the detailed description is omitted here.
And S330, if the modified content is successfully replaced, updating and displaying the modified content.
Optionally, if the modified content is successfully replaced, which indicates that the issued content is successfully updated, an instruction for updating the display is sent to the terminal. And the terminal receives the instruction of updating the display, and then updates and displays the modified content. Further, the terminal updates the modified content cached locally, so that the modified content can still be displayed in the disconnected state.
In the embodiment, the modified content obtained by modifying the published content is sent to the server, the information of the specified receiver is sent to the server, and the modified content is updated and displayed after the modified content is sent to the specified receiver by the server, so that the new content does not need to be released again after the published content is deleted, the operation of a user is facilitated, the data processing amount is small, and the occupied resource is small.
Example four
Fig. 4 is a flowchart of a method for modifying published content according to a fourth embodiment of the present invention. The present embodiment further optimizes various optional embodiments of the foregoing embodiments, and optionally, after sending the modified content obtained by modifying the published content to the server and before sending the information of the specified recipient to the server, additionally performs an operation "receiving and displaying the information range of the specified recipient sent by the server", so as to guide the publisher to achieve the most desirable effect with the least operations, thereby improving the user experience. With reference to fig. 4, the method provided by the embodiment of the present invention includes the following operations:
s410, sending the modified content after the published content is modified to a server so that the server can determine the modified data volume according to the published content and the modified content.
And S420, receiving and displaying the information range of the appointed receiver sent by the server.
The information range of the designated receiver sent by the server is, for example, "you can select 3 receivers for this operation". The information range of the designated recipient is determined by the server according to the modified data amount, and the determining method is described in detail in the above embodiments, and is not described herein again.
S430, sending the information of the designated receiver to the server so that the server can judge that the information of the designated receiver is in the information range of the designated receiver, replacing the published content with the modified content, and sending the modified content to the designated receiver.
Alternatively, if the server determines that the information specifying the receiver is in the information range specifying the receiver, the publisher is prompted that the modification is successful, and the terminal displays the information that the modification is successful. If the server determines that the information specifying the recipient is not within the information scope of the specified recipient, the publisher may be prompted that the specified recipient is unsatisfactory and the publisher is again provided with an opportunity to modify. For example, the publisher is provided with a re-edit option, and/or a logout option, the terminal displays information that the modified data amount is not satisfactory, and the re-edit option, and/or the logout option. The terminal responds to the trigger operation of the publisher on the re-editing option, acquires the designated receiver and sends the designated receiver to the server; and the terminal responds to the trigger operation of the publisher on the quitting option, quits the selection interface of the receiver and finishes the operation.
And S440, if the modified content is successfully replaced, updating and displaying the modified content.
In the embodiment, the information range of the designated receiver sent by the server is received and displayed to guide the publisher to achieve the effect which the publisher wants to achieve most, and further improve the user experience.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an apparatus for modifying published content according to a fifth embodiment of the present invention, where the apparatus includes: a first obtaining module 51, a determining module 52, a second obtaining module 53 and a sending module 54.
A first obtaining module 51, configured to obtain modified content obtained by modifying the published content by the publisher;
a determining module 52, configured to determine a modified data amount according to the published content and the modified content acquired by the first acquiring module 51;
a second acquisition module 53 for acquiring information specifying a recipient;
a sending module 54, configured to replace the released content with the modified content acquired by the first acquiring module 51 and send the modified content to the specified recipient if the modified data amount determined by the determining module 52 matches the information of the specified recipient acquired by the second acquiring module 53.
In the embodiment of the invention, the modified content obtained by modifying the published content by the publisher is obtained, so that the publisher can modify the published content; determining a modified data volume according to the published content and the modified content; acquiring information of a designated receiver; if the modified data size is matched with the information of the designated receiver, the released content is replaced by the modified content, and the modified content is sent to the designated receiver, so that the released content does not need to be deleted and then new content is released again, the operation of a user is facilitated, the data processing size is small, and the occupied resources are small; moreover, the server only directly replaces the published content and does not modify the original information such as praise and comment, so that the information such as praise and comment is retained, and the user experience is improved. And the data volume is modified according to the information limit of the receiver, which is beneficial to saving server resources.
Optionally, when the second obtaining module 53 obtains the information of the designated recipient, it is specifically configured to: showing a selection interface of the receiver to the publisher; information specifying a recipient selected by a publisher on a recipient's selection interface is received.
Optionally, the apparatus further includes a prompt module, configured to determine an information range of the designated recipient according to the modified data amount after determining the modified data amount according to the published content and the modified content and before acquiring the information of the designated recipient; the publisher is prompted with an information scope specifying the recipient.
Optionally, when the modified content replaces the published content and is sent to the specified recipient if the modified data size matches the information of the specified recipient, the sending module 54 is specifically configured to: and if the information of the specified receiver is within the information range of the specified receiver, replacing the published content with the modified content, and sending the modified content to the specified receiver.
Optionally, when determining the information range of the designated recipient according to the modification data amount, the prompt module is specifically configured to: determining the resource consumption for issuing the modified content according to the modified data volume; based on the resource consumption, a range of information specifying the recipient is determined.
Optionally, the information specifying the recipient includes: specifying the number and/or geographic location of recipients.
The published content modification device provided by the embodiment of the invention can execute the published content modification method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an apparatus for modifying published content according to a sixth embodiment of the present invention, where the apparatus includes: a first transmitting module 61, a second transmitting module 62 and a display module 63.
The first sending module 61 is configured to send the modified content obtained by modifying the published content to the server, so that the server determines a modified data size according to the published content and the modified content;
a second sending module 62, configured to send the information of the specified recipient to the server, so that the server determines that the modified data size matches the information of the specified recipient, replaces the published content with the modified content, and sends the modified content to the specified recipient;
and the display module 63 updates and displays the modified content if the modified content is successfully replaced.
In the embodiment, the modified content obtained by modifying the published content is sent to the server, the information of the specified receiver is sent to the server, and the modified content is updated and displayed after the modified content is sent to the specified receiver by the server, so that the new content does not need to be released again after the published content is deleted, the operation of a user is facilitated, the data processing amount is small, and the occupied resource is small.
Optionally, when the second sending module 62 sends the information of the designated recipient to the server, it is specifically configured to: receiving a command sent by a server, and displaying a selection interface of a receiver according to the command; and sending the information of the specified receiver selected by the publisher to the server in response to the selection operation of the publisher on the selection interface of the receiver.
Optionally, the apparatus further includes a display module, configured to receive and display the information range of the designated recipient sent by the server after sending the modified content obtained by modifying the published content to the server and before sending the information of the designated recipient to the server; wherein the information range specifying the recipient is determined by the server based on the amount of the modification data.
The published content modification device provided by the embodiment of the invention can execute the published content modification method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of a server according to a seventh embodiment of the present invention, and as shown in fig. 7, the server includes a processor 70 and a memory 71; the number of the processors 70 in the server may be one or more, and one processor 70 is taken as an example in fig. 7; the processor 70 and the memory 71 in the server may be connected by a bus or other means, and fig. 7 illustrates the connection by the bus as an example.
The memory 71 is used as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the published content modification method in the embodiment of the present invention (for example, the first obtaining module 51, the determining module 52, the second obtaining module 53, and the sending module 54 in the published content modification). The processor 70 executes various functional applications of the server and data processing, i.e., implements the above-described modification method of the distributed content, by executing software programs, instructions, and modules stored in the memory 71.
The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 71 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 71 may further include memory located remotely from processor 70, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Example eight
Fig. 8 is a schematic structural diagram of a terminal according to an eighth embodiment of the present invention, as shown in fig. 8, the terminal includes a processor 80, a memory 81, an input device 82, and an output device 83; the number of the processors 80 in the terminal may be one or more, and one processor 80 is taken as an example in fig. 8; the processor 80, the memory 81, the input device 82 and the output device 83 in the terminal may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 8.
The memory 81 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for modifying published content in the embodiment of the present invention (for example, the first sending module 61, the second sending module 62, and the display module 63 in the modified version of published content). The processor 80 executes various functional applications of the terminal and data processing, i.e., implements the above-described modification method of the distributed content, by executing software programs, instructions, and modules stored in the memory 81.
The memory 81 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 81 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 81 may further include memory located remotely from the processor 80, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 82 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the terminal, such as selection operations of a publisher on a selection interface of a recipient. The output device 83 may include a display device such as a display screen for displaying a selection interface of the recipient, an information range specifying the recipient, and the like.
Example nine
An embodiment of the present invention further provides a computer-readable storage medium having stored thereon a computer program, which when executed by a computer processor is configured to perform a method for modifying published content, the method including:
acquiring modified content obtained by modifying published content by a publisher;
determining a modified data volume according to the published content and the modified content;
acquiring information of a designated receiver;
and if the modified data size is matched with the information of the specified receiver, replacing the published content with the modified content, and sending the modified content to the specified receiver.
In addition, an embodiment of the present invention provides another computer-readable storage medium having stored thereon a computer program, which when executed by a computer processor is configured to perform a method for modifying published content, the method including:
sending the modified content obtained by modifying the published content to a server so that the server can determine the modified data volume according to the published content and the modified content;
sending the information of the appointed receiver to a server so that the server can judge that the modified data size is matched with the information of the appointed receiver, replacing the released content with the modified content, and sending the modified content to the appointed receiver;
and if the modified content is successfully replaced, updating and displaying the modified content.
Of course, the computer program provided by the embodiment of the present invention is not limited to the above method operations, and may also perform related operations in the method for modifying published content provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the embodiments of the present invention.
It should be noted that, in the embodiment of the modification apparatus for published content, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (14)

1. A method for modifying published content, comprising:
acquiring modified content obtained by modifying published content by a publisher;
determining a modified data volume according to the published content and the modified content;
acquiring information of a designated receiver;
if the modified data size is matched with the information of the appointed receiver, replacing the released content with the modified content, and sending the modified content to the appointed receiver; wherein the resource consumption of the server is related to the information specifying the recipient.
2. The method of claim 1, wherein obtaining information specifying a recipient comprises:
showing a selection interface of the receiver to the publisher;
information specifying a recipient selected by a publisher on a recipient's selection interface is received.
3. The method according to claim 1, wherein after determining the modified data amount based on the published content and the modified content, and before acquiring information specifying a recipient, further comprising:
determining the information range of the appointed receiver according to the modification data amount;
and prompting the information range of the specified receiver to the publisher.
4. The method of claim 3, wherein if the modification data amount matches the information of the specified receiver, replacing the published content with the modified content, and sending the modified content to the specified receiver comprises:
and if the information of the specified receiver is in the information range of the specified receiver, replacing the published content with the modified content, and sending the modified content to the specified receiver.
5. The method of claim 3, wherein determining the range of information specifying the recipient based on the amount of modification data comprises:
determining the resource consumption for issuing the modified content according to the modified data volume;
determining an information range of the designated recipient according to the resource consumption.
6. The method of any of claims 1-5, wherein the recipient-specific information comprises: specifying the number and/or geographic location of recipients.
7. A method for modifying published content, comprising:
sending the modified content obtained by modifying the published content to a server so that the server can determine the modified data volume according to the published content and the modified content;
sending the information of the appointed receiver to the server so that the server can judge that the modified data size is matched with the information of the appointed receiver, replacing the published content with the modified content, and sending the modified content to the appointed receiver; wherein the resource consumption of the server is related to the information specifying the recipient;
and if the modified content is successfully replaced, updating and displaying the modified content.
8. The method of claim 7, wherein sending information specifying the recipient to the server comprises:
receiving a command sent by a server, and displaying a selection interface of a receiver according to the command;
and responding to the selection operation of the publisher on the selection interface of the receiver, and sending the information of the specified receiver selected by the publisher to the server.
9. The method according to claim 7, wherein, after sending the modified content modified from the published content to the server, before sending information specifying a recipient to the server, further comprising:
receiving and displaying the information range of the appointed receiver sent by the server;
wherein the information range of the specified receiver is determined by the server according to the modification data amount.
10. An apparatus for modifying published content, comprising:
the first acquisition module is used for acquiring modified contents obtained by modifying the published contents by a publisher;
the determining module is used for determining the modified data volume according to the published content and the modified content;
the second acquisition module is used for acquiring the information of the appointed receiver;
the sending module is used for replacing the released content with the modified content and sending the modified content to the specified receiver if the modified data size is matched with the information of the specified receiver; wherein the resource consumption of the server is related to the information specifying the recipient.
11. An apparatus for modifying published content, comprising:
the first sending module is used for sending the modified content obtained by modifying the published content to a server so that the server can determine the modified data volume according to the published content and the modified content;
the second sending module is used for sending the information of the appointed receiver to the server so that the server can judge that the modified data size is matched with the information of the appointed receiver, replace the released content with the modified content and send the modified content to the appointed receiver; wherein the resource consumption of the server is related to the information specifying the recipient;
and the display module is used for updating and displaying the modified content if the modified content is successfully replaced.
12. A server, characterized in that the server comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of modifying published content as claimed in any one of claims 1 to 6.
13. A terminal, characterized in that the terminal comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of modifying published content as claimed in any one of claims 7 to 9.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of modifying published content as claimed in any one of claims 1 to 6, or a method of modifying published content as claimed in any one of claims 7 to 9.
CN201811452740.3A 2018-11-30 2018-11-30 Published content modification method, device, server, terminal and storage medium Active CN109299425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811452740.3A CN109299425B (en) 2018-11-30 2018-11-30 Published content modification method, device, server, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811452740.3A CN109299425B (en) 2018-11-30 2018-11-30 Published content modification method, device, server, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109299425A CN109299425A (en) 2019-02-01
CN109299425B true CN109299425B (en) 2022-04-19

Family

ID=65142146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811452740.3A Active CN109299425B (en) 2018-11-30 2018-11-30 Published content modification method, device, server, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109299425B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299425B (en) * 2018-11-30 2022-04-19 苏州达家迎信息技术有限公司 Published content modification method, device, server, terminal and storage medium
CN111158740A (en) * 2019-12-19 2020-05-15 罗福英 Information publishing method and information publishing system of instant messaging software
CN111831944B (en) * 2020-07-09 2021-09-28 腾讯科技(深圳)有限公司 Multimedia processing method, device, client, server and storage medium
CN113722040B (en) * 2021-09-07 2023-09-05 北京达佳互联信息技术有限公司 Work processing method, device, computer equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860446A (en) * 2009-04-10 2010-10-13 华为终端有限公司 Method, terminal and server for informing network content update
US8447801B1 (en) * 2012-11-01 2013-05-21 LavaRipples, LLC Content sharing with limited cloud storage
CN104778211A (en) * 2015-03-18 2015-07-15 微梦创科网络科技(中国)有限公司 Method, client, server and system for refreshing partial page modules
CN107247795A (en) * 2017-06-22 2017-10-13 巴拉巴网络科技(北京)有限公司 Content delivery method, device, system and machinable medium
US9979774B2 (en) * 2014-09-23 2018-05-22 Flipboard, Inc. Debugging and formatting feeds for presentation based on elements and content items
CN109299425A (en) * 2018-11-30 2019-02-01 苏州达家迎信息技术有限公司 Amending method, device, server, terminal and the storage medium of content are issued

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860446A (en) * 2009-04-10 2010-10-13 华为终端有限公司 Method, terminal and server for informing network content update
US8447801B1 (en) * 2012-11-01 2013-05-21 LavaRipples, LLC Content sharing with limited cloud storage
US9979774B2 (en) * 2014-09-23 2018-05-22 Flipboard, Inc. Debugging and formatting feeds for presentation based on elements and content items
CN104778211A (en) * 2015-03-18 2015-07-15 微梦创科网络科技(中国)有限公司 Method, client, server and system for refreshing partial page modules
CN107247795A (en) * 2017-06-22 2017-10-13 巴拉巴网络科技(北京)有限公司 Content delivery method, device, system and machinable medium
CN109299425A (en) * 2018-11-30 2019-02-01 苏州达家迎信息技术有限公司 Amending method, device, server, terminal and the storage medium of content are issued

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Resource and Information Sharing Mechanism Based on Spatial Information Grid;Zhong Xie 等;《 2008 Seventh International Conference on Grid and Cooperative Computing》;20081031;第221-225页 *
基于Apache+PHP+MySQL的C语言学习系统的实现;汪桂珍;《科技资讯》;20160906;第1-4+6 *

Also Published As

Publication number Publication date
CN109299425A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN109299425B (en) Published content modification method, device, server, terminal and storage medium
CN109582904B (en) Published content modification method, device, server, terminal and storage medium
KR102255138B1 (en) Message processing method and device, storage medium, and computer device
CN105635764B (en) Method and device for playing push information in live video
CN112791393B (en) Information processing method, device, equipment and medium
CN108959558B (en) Information pushing method and device, computer equipment and storage medium
US20130012245A1 (en) Apparatus and method for transmitting message in mobile terminal
CN111565143B (en) Instant messaging method, equipment and computer readable storage medium
CN111614547A (en) Message display method, device, terminal and medium
AU2012225062A1 (en) Method, system and computer storage medium for displaying microblog wall
WO2007132677A1 (en) Service providing device
US20190207886A1 (en) Methods, systems, and media for generating contextually relevant messages
CN111481939A (en) Game account control method, device, medium and electronic equipment
CN106131689A (en) Method for downloading video and device
CN112328140B (en) Image input method, device, equipment and medium thereof
CN110909241A (en) Information recommendation method, user identification recommendation method, device and equipment
CN111200650B (en) Data transmission method, device, system, equipment and medium
CN110401853B (en) Barrage display method and electronic equipment
CN110601962B (en) Message prompting method, device, terminal and storage medium
CN105610849B (en) Method and device for generating sharing label and method and device for displaying attribute information
CN112101985A (en) Bullet screen processing method and device and electronic equipment
CN111934985A (en) Media content sharing method, device and equipment and computer readable storage medium
CN113282268B (en) Sound effect configuration method and device, storage medium and electronic equipment
CN112165646B (en) Video sharing method and device based on barrage message and computer equipment
CN114221923A (en) Message processing method and device and electronic equipment

Legal Events

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