Mark Information Processing Method, Device, and Storage Medium
The method allows users to mark content without logging in, synchronizing marks to their account upon login, enhancing user experience and security by validating synchronization requests.
Patent Information
- Application Number
- CN202010981538.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-17
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The existing content publishing platform cannot effectively save tag information when the viewer is not logged in, resulting in increased difficulty in searching, reduced user experience, and the risk of malicious operations synchronizing false tags.
The server device receives the tag information synchronization request of the client device in the unlogged state, conducts legality detection, and after passing the detection, the tag information is synchronized to the list of the target account to ensure the storage and display of legal information.
It realizes the rapid search and storage of tagged information under the unlogged state, improves the user experience, and effectively recognizes and prevents the synchronization of fake tagged information, improving data security.
Smart Images

Figure CN114265998B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of data processing technologies, and in particular, to a method, device, and storage medium for processing marking information. Background Art
[0002] With the development of mobile Internet technologies, various content publishing platforms have emerged, such as short video publishing platforms. Publishers can publish content on the content publishing platform through a browser or a client application, and viewers can browse the content published by others on the content publishing platform through a browser or a client application, and can perform markings such as liking and collecting on the browsed content, or can perform markings such as following on the publisher of the browsed content. Among them, both the content and the publisher are display objects on the content publishing platform.
[0003] Currently, content publishing platforms often do not support viewers to perform the above markings on the browsed display objects when the account is not logged in to the platform, and viewers need to go through the login or registration process to perform marking operations. Some content publishing platforms allow viewers to perform the above markings on the browsed display objects when the account is not logged in to the platform, but do not save the marking information, resulting in an increased difficulty for viewers to find the display object when they hope to browse the display object again, and also greatly reducing the user experience of content viewers. Summary of the Invention
[0004] Embodiments of the present disclosure provide a method, device, and storage medium for processing marking information to reduce the difficulty of finding marked display objects in the non-logged-in state of an account.
[0005] In a first aspect, embodiments of the present disclosure provide a method for processing marking information, which is applied to a server device and includes:
[0006] Receiving a marking information synchronization request and a first list sent by a client device, where the marking information synchronization request is used to request synchronizing the marking information in the first list to a second list corresponding to a target account, and the marking information is obtained by the client device in response to a marking operation on a display object in the non-logged-in state of the account;
[0007] Performing a legality check on the marking information synchronization request;
[0008] In the case where the marking information synchronization request passes the legality check, synchronizing the marking information in the first list to the second list corresponding to the target account, so that the client device displays the display object corresponding to the marking information in the logged-in state of the target account.
[0009] The marking information processing method provided by the embodiments of the present disclosure allows a viewer to perform marking operations on display objects in a state where the account is not logged in through a client device, and also allows the marking information obtained in the state where the account is not logged in to be synchronized to a second list corresponding to the target account of the viewer. The specific implementation manner of information synchronization refers to the description of the method embodiments above. By using the method provided by the embodiments of the present disclosure, the marking information obtained by the client device in response to the marking operation of the viewer in the state where the account is not logged in will be saved. After the viewer logs in to the target account, the viewer can quickly find the display objects marked in the state where the account is not logged in and the corresponding marking operations through the second list corresponding to the target account, reducing the difficulty of finding the display objects marked in the state where the account is not logged in after logging in to the account and improving the user experience. In addition, malicious operators may try to synchronize false marking information to the second list corresponding to the target account. Since malicious operators must send the above marking information synchronization request to the server device, the method provided by the embodiments of the present disclosure performs a legality detection on the marking information synchronization request, and can effectively identify and block illegal synchronization requests for synchronizing false marking information, improving data security.
[0010] Combined with the first embodiment of the first aspect above, in the second embodiment of the first aspect, the server device may further receive a marking information recording request sent by the client device in a state where the account is not logged in, where the marking information recording request is used to indicate that the marking information is generated; perform a legality detection on the marking information recording request; and set a legality detection mark corresponding to the client device according to the legality detection result of the marking information recording request.
[0011] For the method provided by the embodiments of the present disclosure, if the client device obtains marking information in response to the marking operation of the viewer on the display object in a state where the account is not logged in, a marking information recording request will be sent to the server device. Correspondingly, the server device will perform a legality detection on the marking information recording request to identify a legal marking information recording request (a marking information recording request that passes the legality detection) and an illegal marking information recording request (a marking information recording request that fails the legality detection), and then set a legality detection mark corresponding to the client device according to the legality detection result of this request, at least used to represent the legality detection result of this request. In practical applications, the legality detection mark can be flexibly used according to needs to meet the usage requirements.
[0012] In combination with the first embodiment or the second embodiment of the first aspect above, in the third embodiment of the first aspect, an implementation method of using the above-mentioned legitimacy detection mark includes: before receiving the tag information synchronization request sent by the client device, the server device receives the tag information pre-synchronization request sent by the client device; the server device responds to the tag information pre-synchronization request, searches for the legitimacy detection mark corresponding to the client device, and determines whether the client device is allowed to send the tag information synchronization request based on the legitimacy detection mark.
[0013] In this embodiment, the legitimacy detection mark corresponding to the client device can be used as a priori information for determining whether to allow sending the mark information synchronization request, thereby further improving data security.
[0014] There are multiple implementation methods for using the prior information of the legitimacy detection mark to perform the above judgment. In a fourth embodiment of the first aspect, if the legitimacy detection mark corresponding to the client device indicates that the legitimacy detection results of all previous tag information record requests are passed, the client device is allowed to send a tag information synchronization request, otherwise, the client device is not allowed to send a tag information synchronization request. In a fifth embodiment of the first aspect, if the legitimacy detection mark corresponding to the client device indicates that the legitimacy detection result of at least one tag information record request is passed, the client is allowed to send a tag information synchronization request for the tag information corresponding to the at least one tag information record request, otherwise, the client device is not allowed to send a tag information synchronization request.
[0015] In combination with the first, third, fourth or fifth embodiment of the first aspect above, in the sixth embodiment of the first aspect, the server device may also receive a tag information record request sent by the client device when the account is not logged in, the tag information record request being used to indicate that tag information has been generated; perform a legitimacy check on the tag information record request; and if the tag information record request passes the legitimacy check, save the tag information corresponding to the tag information record request.
[0016] In combination with the second embodiment of the first aspect, in the seventh embodiment of the first aspect, when the marking information recording request passes the legality check, the server device may also save the marking information corresponding to the marking information recording request.
[0017] The method provided by the embodiment of the present disclosure saves the tag information corresponding to the request when the tag information record request passes the legitimacy check. On the one hand, when the viewer account is not logged in, the marked display objects and the corresponding tag operations can be browsed. On the other hand, the saved tag information can be used as a legitimacy check tag.
[0018] In combination with the sixth or seventh embodiment of the first aspect, in the eighth embodiment of the first aspect, before the server device receives the tag information synchronization request sent by the client device, the server device may further receive a tag information pre-synchronization request sent by the client device; in response to the tag information pre-synchronization request, search for the tag information corresponding to the client device, and determine whether the client device is allowed to send a tag information synchronization request according to the search result; if the tag information of the client device is found, allow the client device to send a tag information synchronization request for the found tag information, otherwise, do not allow the client device to send a tag information synchronization request.
[0019] In this embodiment, the tag information saved when the above-mentioned tag information record request passes the legality check is used as a legality check tag, specifically as prior information for determining whether to allow the sending of a tag information synchronization request, further improving the security of data.
[0020] In combination with any one of the second to eighth embodiments of the first aspect, in the ninth embodiment of the first aspect, before performing a legality check on the tag information synchronization request, the server device may further determine whether to allow a legality check on the tag information synchronization request according to the legality check results of at least one tag information record request. If so, perform a legality check on the tag information synchronization request.
[0021] In this embodiment, the legality check result of the tag information record request sent by the client device in the unlogged-in state of the account is used as prior information to determine whether to allow a legality check on the tag information synchronization request, further improving the security of data.
[0022] In combination with any one of the second to eighth embodiments of the first aspect, in the tenth embodiment of the first aspect, the implementation manner of synchronizing the tag information in the first list to the second list corresponding to the target account may include: updating the first list according to the tag information saved locally, where the tag information saved locally includes the tag information corresponding to the tag information record request; synchronizing the tag information in the updated first list to the second list corresponding to the target account.
[0023] This embodiment updates the first list according to the tag information saved locally by the server device, thereby improving the reliability of information synchronization.
[0024] Second aspect, an embodiment of the present disclosure provides a server device, including:
[0025] A request receiving module, configured to receive a tag information synchronization request and a first list sent by a client device, where the tag information synchronization request is used to request to synchronize the tag information in the first list to a second list corresponding to a target account, and the tag information is obtained by the client device in response to a tagging operation on a display object in a state where the account is not logged in;
[0026] A legality detection module, configured to perform legality detection on the tag information synchronization request;
[0027] An information synchronization module, configured to, when the tag information synchronization request passes the legality detection, synchronize the tag information in the first list to the second list corresponding to the target account, so that the client device displays the display object corresponding to the tag information in a state where the target account is logged in.
[0028] The server device provided by the embodiments of the present disclosure allows a viewer to perform a tagging operation on a display object through a client device in a state where the account is not logged in, and allows the tag information obtained in the state where the account is not logged in to be synchronized to a second list corresponding to the target account of the viewer. The specific implementation manner of information synchronization refers to the description of the method embodiments above. By using the server device provided by the embodiments of the present disclosure, the tag information obtained by the client device in response to the tagging operation of the viewer in the state where the account is not logged in can be saved. After the viewer logs in to the target account, the viewer can quickly find the display object tagged in the state where the account is not logged in and the corresponding tagging operation through the second list corresponding to the target account, reducing the difficulty of finding the display object tagged in the state where the account is not logged in after logging in to the account and improving the user experience. In addition, malicious operators may try to synchronize false tag information to the second list corresponding to the target account. Since malicious operators must send the above tag information synchronization request to the server device, the server device provided by the embodiments of the present disclosure performs legality detection on the tag information synchronization request, which can effectively identify and block illegal synchronization requests for synchronizing false tag information, improving data security.
[0029] Combined with the first embodiment of the second aspect above, in the second embodiment of the second aspect, the request receiving module may further receive a tag information recording request sent by the client device in a state where the account is not logged in, where the tag information recording request is used to indicate that tag information is generated; the legality detection module may further perform legality detection on the tag information recording request; correspondingly, the server device may further include a legality detection tag setting module, configured to set a legality detection tag corresponding to the client device according to the legality detection result of the tag information recording request.
[0030] If the client device obtains marking information in response to a marking operation on a display object by a viewer in the state of not logged in to the account, it will send a marking information recording request to the server device. Correspondingly, the server device will perform a legality detection on the marking information recording request to identify a legal marking information recording request (a marking information recording request that passes the legality detection) and an illegal marking information recording request (a marking information recording request that fails the legality detection), and then set a legality detection mark corresponding to the client device according to the legality detection result of this request, at least to indicate the legality detection result of this request. In practical applications, the legality detection mark can be flexibly used according to needs to meet the usage requirements.
[0031] Combined with the first or second embodiment of the second aspect above, in the third embodiment of the second aspect, an implementation manner of using the above-mentioned legality detection mark includes: before receiving a marking information synchronization request sent by the client device, the request receiving module receives a marking information pre-synchronization request sent by the client device; in response to the marking information pre-synchronization request, the legality detection module looks up the legality detection mark corresponding to the client device, and determines whether the client device is allowed to send a marking information synchronization request according to the legality detection mark.
[0032] In this embodiment, the legality detection mark corresponding to the client device can be used as prior information for judging whether to allow sending a marking information synchronization request, further improving the security of data.
[0033] Among them, there are various implementation manners of how to use the prior information of the legality detection mark for the above judgment. In the fourth embodiment of the second aspect, if the legality detection mark corresponding to the client device indicates that the legality detection results of all previous marking information recording requests are legal detections passed, the client device is allowed to send a marking information synchronization request; otherwise, the client device is not allowed to send a marking information synchronization request. In the fifth embodiment of the second aspect, if the legality detection mark corresponding to the client device indicates that the legality detection result of at least one marking information recording request is legal detection passed, the client is allowed to send a marking information synchronization request for the marking information corresponding to the above at least one marking information recording request; otherwise, the client device is not allowed to send a marking information synchronization request.
[0034] Combined with the first, third, fourth, or fifth embodiment of the second aspect above, in the sixth embodiment of the second aspect, the request receiving module may further receive a marking information recording request sent by the client device in the state where the account is not logged in, and this marking information recording request is used to indicate that marking information is generated; the legality detection module is further used to perform legality detection on this marking information recording request; correspondingly, the server device may further include a marking information storage module, which is used to store the marking information corresponding to this marking information recording request when this marking information recording request passes the legality detection.
[0035] Combined with the second embodiment of the second aspect, in the seventh embodiment of the second aspect, when this marking information recording request passes the legality detection, the server device may further include a marking information storage module, which is used to store the marking information corresponding to this marking information recording request.
[0036] The server device provided by the embodiments of the present disclosure stores the marking information corresponding to the request when this marking information recording request passes the legality detection. On the one hand, when the viewer's account is not logged in, the displayed objects marked by the viewer and the corresponding marking operations can be viewed. On the other hand, the stored marking information can be used as a legality detection mark.
[0037] Combined with the sixth or seventh embodiment of the second aspect, in the eighth embodiment of the second aspect, before the request receiving module receives the marking information synchronization request sent by the client device, it may further receive a marking information pre-synchronization request sent by the client device; in response to this marking information pre-synchronization request, the legality detection module may further search for the marking information corresponding to this client device, and determine whether the client device is allowed to send a marking information synchronization request according to the search result; if the marking information of the client device is found, the client device is allowed to send a marking information synchronization request for the found marking information, otherwise, the client device is not allowed to send a marking information synchronization request.
[0038] In this embodiment, the marking information stored when the above marking information recording request passes the legality detection is used as a legality detection mark, specifically as prior information for judging whether to allow the sending of a marking information synchronization request, further improving the security of data.
[0039] Combined with any one of the second to eighth embodiments of the second aspect above, in the ninth embodiment of the second aspect, before performing legality detection on the marking information synchronization request, the legality detection module may further judge whether to allow legality detection on the above marking information synchronization request according to the legality detection results of at least one marking information recording request. If so, perform legality detection on the marking information synchronization request.
[0040] In this embodiment, the legality detection result of the tag information record request sent by the client device in the unlogged-in state of the account is used as prior information to determine whether to allow the legality detection of the above-mentioned tag information synchronization request, further improving the security of data.
[0041] Combined with any one of the second to eighth embodiments of the second aspect, in the tenth embodiment of the second aspect, the implementation manner of synchronizing the tag information in the first list to the second list corresponding to the target account may include: updating the first list according to the tag information saved locally, where the tag information saved locally includes the tag information corresponding to the tag information record request; synchronizing the tag information in the updated first list to the second list corresponding to the target account.
[0042] This embodiment updates the first list according to the tag information saved locally on the server device, thereby improving the reliability of information synchronization.
[0043] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including a processor and a memory;
[0044] The memory is used to store a program for executing the methods described in the method embodiments of the first aspect; the processor is configured to execute the program stored in the memory.
[0045] The electronic device provided by the embodiment of the present disclosure allows a viewer to perform a tagging operation on a display object through a client device in the unlogged-in state of the account, and allows the tag information obtained in the unlogged-in state of the account to be synchronized to the second list corresponding to the viewer's target account, where the specific implementation manner of information synchronization refers to the description of the above method embodiments. By using the electronic device provided by the embodiment of the present disclosure, the tag information obtained by the client device in response to the tagging operation of the viewer in the unlogged-in state of the account will be saved. After the viewer logs in to the target account, the viewer can quickly find the display object tagged in the unlogged-in state of the account and the corresponding tagging operation through the second list corresponding to the target account, reducing the difficulty of finding the display object tagged in the unlogged-in state of the account and the corresponding tagging operation after logging in to the account, and improving the user experience. In addition, malicious operators may try to synchronize false tag information to the second list corresponding to the target account. Since malicious operators must send the above-mentioned tag information synchronization request to the server device, the electronic device provided by the embodiment of the present disclosure performs a legality detection on the tag information synchronization request, which can effectively identify and block illegal synchronization requests for synchronizing false tag information, improving data security.
[0046] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, storing a program for executing the methods described in the embodiments of the first aspect.
[0047] The program stored in the computer-readable storage medium provided by the embodiments of the present disclosure allows a browser to perform a marking operation on a display object in a state where the account is not logged in, and allows the marking information obtained in the state where the account is not logged in to be synchronized to a second list corresponding to the target account of the browser. Among them, the specific implementation manner of information synchronization refers to the description of the above method embodiments. By using the above program, the marking information obtained in response to the marking operation of the browser in the state where the account is not logged in will be saved. After the browser logs in to the target account, the browser can quickly find the display object marked in the state where the account is not logged in and the corresponding marking operation through the second list corresponding to its target account, reducing the difficulty of finding the display object marked in the state where the account is not logged in and the corresponding marking operation after the account is logged in, and improving the user experience. In addition, malicious operators may try to synchronize false marking information to the second list corresponding to the target account. Since malicious operators must send the above marking information synchronization request to the server device, the above program stored in the storage medium provided by the embodiments of the present disclosure performs a legality detection on the marking information synchronization request, and can effectively identify and block the illegal synchronization request for requesting to synchronize false marking information, improving data security.
[0048] Fifthly, the embodiments of the present disclosure provide a method for processing marking information, which is applied to a client device. The method includes:
[0049] Responding to a marking operation on a display object in a state where the account is not logged in to obtain marking information;
[0050] In the case of logging in or registering with a target account, sending a marking information synchronization request and a first list including the marking information to the server device. The marking information synchronization request is used to request to synchronize the marking information in the first list to a second list corresponding to the target account, so that the server device performs a legality detection on the marking information synchronization request, and in the case where the marking information synchronization request passes the legality detection, synchronize the marking information in the first list to the second list corresponding to the target account, so that the client device displays the display object corresponding to the above marking information in the state where the target account is logged in.
[0051] The marking information processing method provided by the embodiments of the present disclosure allows a viewer to perform marking operations on display objects through a client device in a state where the account is not logged in, and also allows the marking information obtained in the state where the account is not logged in to be synchronized to a second list corresponding to the target account of the viewer. The specific implementation manner of information synchronization refers to the description of the method embodiments above. By using the method provided by the embodiments of the present disclosure, the marking information obtained by the client device in response to the marking operation of the viewer in the state where the account is not logged in will be saved. After the viewer logs in to the target account, the viewer can quickly find the display objects marked in the state where the account is not logged in and the corresponding marking operations through the second list corresponding to the target account, reducing the difficulty of finding the display objects marked in the state where the account is not logged in and the corresponding marking operations after logging in to the account, and improving the user experience. In addition, malicious operators may try to synchronize false marking information to the second list corresponding to the target account. Since malicious operators must send the above marking information synchronization request to the server device, the method provided by the embodiments of the present disclosure performs a legality detection on the marking information synchronization request, and can effectively identify and block illegal synchronization requests for synchronizing false marking information, improving data security.
[0052] Combined with the first embodiment of the fifth aspect, in the second embodiment of the fifth aspect, the client device may further send a marking information recording request to the server device in a state where the account is not logged in, so that the server device performs a legality detection on the marking information recording request, and the marking information recording request is used to indicate that marking information is generated.
[0053] For the method provided by the embodiments of the present disclosure, if the client device obtains marking information in response to the marking operation of the viewer on the display object in a state where the account is not logged in, a marking information recording request will be sent to the server device. Correspondingly, the server device will perform a legality detection on the marking information recording request to identify a legal marking information recording request (a marking information recording request that passes the legality detection) and an illegal marking information recording request (a marking information recording request that fails the legality detection).
[0054] Combined with the second embodiment of the fifth aspect, in the third embodiment of the fifth aspect, before sending a marking information synchronization request to the server device, the client device may further send a marking information pre-synchronization request to the server device when logging in or registering with the target account, so that after receiving the marking information pre-synchronization request, the server device searches for a legality detection mark corresponding to the client device, and determines whether the client device is allowed to send a marking information synchronization request according to the legality detection mark.
[0055] In a sixth aspect, the embodiments of the present disclosure further provide a client device, including:
[0056] A display object marking module, configured to obtain marking information in response to a marking operation on a display object in the state where the account is not logged in;
[0057] A request sending module, configured to send a marking information synchronization request and a first list including the above-mentioned marking information to a server device when logging in or registering with a target account. The marking information synchronization request is used to request synchronizing the marking information in the first list to a second list corresponding to the target account, so that the server device performs a legality check on the marking information synchronization request, and when the marking information synchronization request passes the legality check, synchronize the marking information in the first list to the second list corresponding to the target account, so that the client device displays the display object corresponding to the above-mentioned marking information in the state where the target account is logged in.
[0058] The client device provided by the embodiments of the present disclosure allows a viewer to perform a marking operation on a display object in the state where the account is not logged in, and allows synchronizing the marking information obtained in the state where the account is not logged in to a second list corresponding to the target account of the viewer. The specific implementation manner of information synchronization refers to the description of the method embodiments above. By using the client device provided by the embodiments of the present disclosure, the marking information obtained by the client device in response to the marking operation of the viewer in the state where the account is not logged in can be saved. After the viewer logs in to the target account, the viewer can quickly find the display object marked in the state where the account is not logged in and the corresponding marking operation through the second list corresponding to the target account, reducing the difficulty of finding the display object marked in the state where the account is not logged in and the corresponding marking operation after logging in to the account, and improving the user experience. In addition, malicious operators may try to synchronize false marking information to the second list corresponding to the target account. Since malicious operators must send the above-mentioned marking information synchronization request to the server device, the client device provided by the embodiments of the present disclosure performs a legality check on the marking information synchronization request, which can effectively identify and block illegal synchronization requests for requesting to synchronize false marking information, improving data security.
[0059] Combined with the first embodiment of the sixth aspect, in the second embodiment of the sixth aspect, the request sending module may further send a marking information recording request to the server device in the state where the account is not logged in, so that the server device performs a legality check on the marking information recording request, and the marking information recording request is used to indicate that marking information is generated.
[0060] The client device provided in the embodiments of the present disclosure, if a display object is marked in the state where the account is not logged in, will send a marked information recording request to the server device. Correspondingly, the server device will perform a legality detection on the marked information recording request to identify a legal marked information recording request (a marked information recording request that passes the legality detection) and an illegal marked information recording request (a marked information recording request that fails the legality detection).
[0061] Combined with the second embodiment of the sixth aspect, in the third embodiment of the sixth aspect, before sending a marked information synchronization request to the server device, the request sending module may further send a marked information pre-synchronization request to the server device when logging in or registering with the target account, so that after receiving the marked information pre-synchronization request, the server device searches for the legality detection mark corresponding to the client device, and determines whether the client device is allowed to send a marked information synchronization request according to the legality detection mark.
[0062] In a seventh aspect, the embodiments of the present disclosure further provide an electronic device, including a processor and a memory;
[0063] The memory is used to store a program for executing the methods described in the method embodiments of the fifth aspect; the processor is configured to execute the program stored in the memory.
[0064] The electronic device provided in the embodiments of the present disclosure allows a viewer to mark a display object through a client device in the state where the account is not logged in, and also allows the marked information obtained in the state where the account is not logged in to be synchronized to the second list corresponding to the target account of the viewer. Among them, the specific implementation manner of information synchronization refers to the description of the above method embodiments. Using the electronic device provided in the embodiments of the present disclosure, the marked information obtained by the client device in response to the marking operation of the viewer in the state where the account is not logged in will be saved. After the viewer logs in to the target account, the viewer can quickly find the display object marked in the state where the account is not logged in and the corresponding marking operation through the second list corresponding to the target account, reducing the search difficulty of finding the display object marked in the state where the account is not logged in and the corresponding marking operation after logging in to the account, and improving the user experience. In addition, malicious operators may try to synchronize false marked information to the second list corresponding to the target account. Since malicious operators must send the above marked information synchronization request to the server device, the electronic device provided in the embodiments of the present disclosure performs a legality detection on the marked information synchronization request, which can effectively identify and block illegal synchronization requests for synchronizing false marked information, improving data security.
[0065] In an eighth aspect, the embodiments of the present disclosure further provide a computer-readable storage medium, storing a program for executing the methods described in the embodiments of the fifth aspect.
[0066] The program stored in the computer-readable storage medium provided by the embodiments of the present disclosure allows a viewer to perform a marking operation on a display object in a state where the account is not logged in through a client device, and allows the marking information obtained in the state where the account is not logged in to be synchronized to a second list corresponding to the target account of the viewer. The specific implementation manner of the information synchronization refers to the description of the above method embodiments. By using the above program, the marking information obtained in response to the viewer's marking operation in the state where the account is not logged in will be saved. After the viewer logs in to the target account, the viewer can quickly find the display object marked in the state where the account is not logged in and the corresponding marking operation through the second list corresponding to the target account, reducing the difficulty of finding the display object marked in the state where the account is not logged in and the corresponding marking operation after logging in to the account, and improving the user experience. In addition, malicious operators may try to synchronize false marking information to the second list corresponding to the target account. Since malicious operators must send the above marking information synchronization request to the server device, the above program stored in the storage medium provided by the embodiments of the present disclosure performs a legality detection on the marking information synchronization request, and can effectively identify and block the illegal synchronization request for synchronizing false marking information, improving data security. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 is a flowchart of a method for processing marking information provided by an embodiment of the present disclosure;
[0068] Figure 2 is a flowchart of a method for processing marking information provided by another embodiment of the present disclosure;
[0069] Figure 3 is a flowchart of a method for processing marking information provided by still another embodiment of the present disclosure;
[0070] Figure 4 is a block diagram of a server device provided by an embodiment of the present disclosure;
[0071] Figure 5 is a block diagram of a client device provided by an embodiment of the present disclosure;
[0072] Figure 6 is a block diagram of a marking information processing system provided by an embodiment of the present disclosure;
[0073] Figure 7 is a schematic structural diagram of a server provided by an embodiment of the present disclosure;
[0074] Figure 8 is a schematic structural diagram of a mobile terminal provided by another embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0075] To better understand the above technical solution, the technical solution of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific features in the embodiments of the present disclosure and the embodiments are detailed descriptions of the technical solution of the embodiments of the present disclosure, rather than limitations on the technical solution of the present disclosure. Without conflict, the technical features in the embodiments of the present disclosure and the embodiments may be combined with each other.
[0076] An embodiment of the present disclosure provides a method for processing marked information, which is implemented by a server device, as Figure 1 shown, the method includes:
[0077] Step 101, receive a marked information synchronization request and a first list sent by a client device. The marked information synchronization request is used to request to synchronize the marked information in the first list to a second list corresponding to a target account. The marked information is obtained by the client device in response to a marking operation on a display object in a state where the account is not logged in.
[0078] Among them, the display object includes at least one of the following: content published by the publisher, the publisher, etc. The content published by the publisher may include at least one of the following: text content, video content, picture content, etc.
[0079] The marking operations on the content published by the publisher include at least one of the following: liking, commenting, favoriting, rating, forwarding, giving a negative review, etc. If the marked information is obtained by marking the content published by the publisher, then the corresponding marked information may include at least one of the following: the name of the content, the content storage address, the ID (identifier) of the content, the icon corresponding to the marking operation. If the marking operation is an operation that generates additional information such as forwarding or commenting, then the marked information also includes additional information generated by the marking such as the comment content and the forwarding content.
[0080] The marking operations on the publisher include at least one of the following: following, unfollowing, recommending, liking, etc. If the marked information is obtained by performing a marking operation on the publisher, correspondingly, the marked information may include at least one of the following: the target account of the publisher, the email of the publisher, the phone number of the publisher, the identity identifier of the publisher, the nickname of the publisher, etc.
[0081] The tag information synchronization request may request information synchronization only for the same type of tag information (for example, only for the like information obtained by the client device liking the content when the account is not logged in). The tag information synchronization request may also request information synchronization for different types of tag information (for example, both for the like information obtained by the client liking the content when the account is not logged in and for the comment information obtained by the client commenting on the content when the account is not logged in). If different types of tag information are requested for information synchronization through the tag information synchronization request, each type of tag information may correspond to a first list respectively, or multiple types of tag information may also be carried in the same first list.
[0082] The first list may be carried in the tag information synchronization request. The first list may also be sent to the server device through other messages. The target account may or may not be carried in the tag information synchronization request. In practical applications, the tag information synchronization request may be sent when the client device logs in or registers using an account. Therefore, the account used by the client device for login or registration is the target account.
[0083] Step 102: Perform a legality check on the tag information synchronization request.
[0084] The purpose of the legality check is to identify and prevent false tag information from being synchronized to the second list corresponding to the target account.
[0085] The embodiments of the present disclosure do not limit the specific strategies and detection means for the legality check. In practical applications, the strategies and detection means for the legality check in this step can be formulated according to factors such as the characteristics of the display object, the characteristics of the communication between the server device and the client device, and the actual needs. By way of example and not limitation, a feature library of illegal synchronization requests can be established, specified features are extracted from the received tag information synchronization request, and the extracted specified features are matched with the features in the feature library. If the match is successful, it is determined that the tag information synchronization request is an illegal synchronization request and the legality check fails; otherwise, the legality check passes.
[0086] In practical applications, the server device may perform the legality check on its own device using a predetermined strategy, or may send a legality check request to a third-party device for the third-party device to perform the legality check, and the server device obtains the legality check result (in this case, the implementation manner of step 102 is to request a legality check on the tag information synchronization request and obtain the legality check result).
[0087] Step 103: When the tag information synchronization request passes the legality check, synchronize the tag information in the first list to the second list corresponding to the target account, so that the client device displays the display object corresponding to the tag information when the target account is logged in.
[0088] If the tag information synchronization request fails the legality check, do not synchronize the tag information in the first list to the second list corresponding to the target account.
[0089] In practical applications, the tag information obtained by the viewer through different tagging operations on the target account can be saved in different second lists corresponding to the target account. The second list can be saved on the server device or on a network device accessible by the server device. For example, if the tagging operations include liking the content and commenting on the content, then the second list corresponding to the target account includes a like list corresponding to the likes and a comment list corresponding to the comments. Among them, the like list saves the like information, and the comment list saves the comment information. The tag information obtained by different tagging operations can also be saved in the same second list. For example, if the tagging operations include liking the content and commenting on the content, then in the second list corresponding to the target account, the like information is saved in association with the like operation, and the comment information is saved in association with the comment operation.
[0090] After the viewer logs in to the target account, if they need to view the display object corresponding to the tagging operation, in one possible implementation, the client device sends a display object acquisition request to the server device to acquire the display object corresponding to a specified tagging operation (such as liking). After receiving the request, the server device searches for the display object according to the second list corresponding to the specified tagging operation and sends the found display object to the client device, and the client device displays the received display object.
[0091] The marking information processing method provided by the embodiments of the present disclosure allows a viewer to send a marking information synchronization request through a client device. The marking information synchronization request is used to request synchronizing the marking information in the first list to the second list corresponding to the target account. The marking information is obtained by the client device marking a display object in the account-unlogged state. Moreover, it allows synchronizing the marking information obtained in the account-unlogged state to the second list corresponding to the viewer's target account. Among them, the specific implementation manner of information synchronization refers to the description of the method embodiments above. By using the method provided by the embodiments of the present disclosure, the marking information obtained by the client device in response to the viewer's marking operation in the account-unlogged state will be saved. After the viewer logs in to the target account, they can quickly find the display objects marked in the account-unlogged state and the corresponding marking operations through the second list corresponding to their target account, reducing the difficulty of finding the display objects marked in the account-unlogged state after logging in to the account and improving the user experience. In addition, malicious operators may try to synchronize false marking information to the second list corresponding to the target account. Since malicious operators must send the above-mentioned marking information synchronization request to the server device, the method provided by the embodiments of the present disclosure performs a legality detection on the marking information synchronization request, which can effectively identify and block illegal synchronization requests for requesting to synchronize false marking information and improve data security.
[0092] Optionally, the server device may also receive the marking information recording request sent by the above-mentioned client device in the account-unlogged state. The marking information recording request is used to indicate that marking information is generated, and perform a legality detection on the marking information recording request.
[0093] Among them, the marking information may be carried in the marking information recording request.
[0094] The purpose of the legality detection here is to identify and block false marking information. The embodiments of the present disclosure do not limit the specific strategies and detection means of the legality detection here. In practical applications, the strategies and detection means of the legality detection in this step can be formulated according to factors such as the characteristics of the display object, the characteristics of the communication between the server device and the client device, and actual needs.
[0095] The detection process of the legality detection here may be the same as or different from the detection process of the legality detection in step 102 above. The strategy of the legality detection here may be the same as or different from the strategy of the legality detection in step 102 above. For the legality detection here, the server device may perform the legality detection on its own device using a predetermined strategy, or send a legality detection request to a third-party device for the third-party device to perform the legality detection, and the server device obtains the legality detection result.
[0096] After the legality detection is completed, on the one hand, the legality detection result of the request can be set according to the marking information, and a legality detection mark corresponding to the client device is set. The legality detection mark is at least used to represent the legality detection result of the current marking information recording request. On the other hand, if the marking information recording request carries marking information, whether or not the legality detection mark corresponding to the client device is set, the marking information corresponding to the current marking information recording request can be saved when the current marking information recording request passes the legality detection.
[0097] There are multiple implementation manners for setting the legality detection mark corresponding to the client device. In one implementation manner, the legality detection mark corresponding to the client device is a boolean value. If a certain marking information recording request fails the legality detection, the value of the legality detection mark is FALSE, indicating that at least one marking information recording request sent by the client device fails the legality detection. If all previous marking information recording requests pass the legality detection, the value of the legality detection mark is TURE. In another implementation manner, there are multiple legality detection marks corresponding to the client device, and each legality detection mark corresponds to a marking information recording request sent by the client device.
[0098] In the method provided by the embodiments of the present disclosure, the client device sends a marking information recording request in the state where the account is not logged in. The server device performs legality verification on the request and saves the information reflecting the legality verification result (legality detection mark, and may also include marking information). This information can be used as prior information to provide a judgment basis for whether to allow information synchronization in the future, or can be used for other purposes.
[0099] In one embodiment, before receiving the marking information synchronization request sent by the client device, the server device receives the marking information pre-synchronization request sent by the client device. The server device responds to the marking information pre-synchronization request, searches for the legality detection mark corresponding to the client device, and determines whether the client is allowed to send the marking information synchronization request according to the legality detection mark. In this embodiment, the legality detection mark corresponding to the client device can be used as prior information for judging whether to allow the client to send the marking information synchronization request, further improving the security of data.
[0100] Among them, there are various implementation manners for using the prior information of the legality detection mark to perform the above judgment. In one implementation manner, if the legality detection mark corresponding to the client device indicates that the legality detection results of all previous mark information record requests are passed in legality detection, a mark information synchronization request is allowed to be sent to the client device; otherwise, a mark information synchronization request is not allowed to be sent to the client device. In another implementation manner, if the legality detection mark corresponding to the client device indicates that the legality detection result of at least one mark information record request is passed in legality detection, the client is allowed to send a mark information synchronization request for the mark information corresponding to the at least one mark information record request; otherwise, the client device is not allowed to send a mark information synchronization request. In practical applications, specific judgment strategies can be formulated according to the characteristics of the display object, actual scenario requirements, etc.
[0101] In another embodiment, before the server device receives the mark information synchronization request sent by the client device, it can also receive the mark information pre-synchronization request sent by the client device; in response to the mark information pre-synchronization request, the server device searches for the mark information of the client device, and determines whether the client device is allowed to send a mark information synchronization request according to the search result; if the mark information of the client device is found, the client device is allowed to send a mark information synchronization request for the found mark information; otherwise, the client device is not allowed to send a mark information synchronization request. In this embodiment, the mark information saved when the above mark information record request passes the legality detection is used as the legality detection mark, specifically for judging whether to allow the sending of the mark information synchronization request, further improving the security of the data.
[0102] As described above, the above first list can be sent to the server device in a message other than the mark information synchronization request. Specifically, the first list can be carried in the mark information pre-synchronization request.
[0103] In practical applications, the first list may not be carried in the mark information pre-synchronization request, and no mark information is carried either, that is, the mark information pre-synchronization request is not a request for information synchronization for specific mark information.
[0104] Based on any of the above embodiments of receiving the mark information record request, before performing the legality detection on the mark information synchronization request, the server device can also judge whether to allow information synchronization of the mark information in the above first list according to the legality detection results of at least one mark information record request, so as to allow the legality detection of the mark information synchronization request. If so, the legality detection is performed on the mark information synchronization request.
[0105] The judgment method and judgment basis can refer to the description of the foregoing embodiments and will not be elaborated here.
[0106] In this embodiment, the prior information is determined based on the legitimacy detection result of the tag information record request sent by the client device in the unlogged-in state of the account, and it is judged whether to allow the legitimacy detection of the above tag information synchronization request, further improving the security of data.
[0107] Based on any of the above method embodiments, the server device may save the tag information sent by the client device through the tag information record request in a third list locally on the server device. The third list is located on the server device or a network device accessible to the server device (collectively referred to as being saved locally on the server device). The implementation manner of synchronizing the tag information in the first list to the second list corresponding to the target account may include: updating the first list according to the tag information in the third list, and synchronizing the tag information in the updated first list to the second list corresponding to the target account. For example, comparing the tag information in the first list with the tag information in the third list; synchronizing the tag information in the union of the first list and the third list to the second list corresponding to the target account.
[0108] If the client device sends a tag information record request and the server device saves the tag information corresponding to the tag information record request that passes the legitimacy detection, the tag information may be saved to the third list.
[0109] In this embodiment, by comparing the tag information in the first list with the tag information saved locally on the server device, the tag information not saved locally is removed from the first list, thereby improving the reliability of information synchronization.
[0110] An embodiment of the present disclosure provides a method for processing tag information. This method is implemented by a client device, as Figure 2 shown, this method includes:
[0111] Step 201, in response to a tagging operation on a display object in the unlogged-in state of the account, obtain tag information.
[0112] In practical applications, a viewer may tag a display object multiple times in the unlogged-in state of the account. Then, the client device executes step 201 each time to obtain tag information.
[0113] Step 202: When logging in or registering using the target account, send a tag information synchronization request and a first list containing the above-mentioned tag information to the server device. The tag information synchronization request is used to request synchronizing the tag information in the first list to a second list corresponding to the target account, so that the server device can perform a legality check on the tag information synchronization request, and when the tag information synchronization request passes the legality check, synchronize the tag information in the first list to the second list corresponding to the target account, so that the client device can display the display object corresponding to the tag information in the logged-in state of the target account.
[0114] For the description of the tag information synchronization request and the processing of the tag information synchronization request by the server device, reference can be made to the description of the foregoing method embodiments, and details are not described herein again.
[0115] The tag information processing method provided by the embodiments of the present disclosure allows a viewer to perform a tagging operation on a display object in the state where the account is not logged in through a client device, and allows synchronizing the tag information obtained in the state where the account is not logged in to a second list corresponding to the target account of the viewer. The specific implementation manner of information synchronization can be referred to the description of the foregoing method embodiments. By using the method provided by the embodiments of the present disclosure, the tag information obtained by the client device in response to the tagging operation of the viewer in the state where the account is not logged in can be saved. After the viewer logs in to the target account, the viewer can quickly find the display object tagged in the state where the account is not logged in and the corresponding tagging operation through the second list corresponding to the target account, reducing the difficulty of finding the display object tagged in the state where the account is not logged in and the corresponding tagging operation after logging in to the account, and improving the user experience. In addition, malicious operators may try to synchronize false tag information to the second list corresponding to the target account. Since malicious operators must send the above-mentioned tag information synchronization request to the server device, the method provided by the embodiments of the present disclosure performs a legality check on the tag information synchronization request, which can effectively identify and block illegal synchronization requests for synchronizing false tag information, improving data security.
[0116] Optionally, the client device can also send a tag information recording request to the server device in the state where the account is not logged in, so that the server device can perform a legality check on the tag information recording request. The tag information recording request is used to indicate that tag information is generated.
[0117] In practical applications, the client device can send a tag information recording request for each generated tag information, or can send the tag information recording request according to other sending strategies (such as sending at a predetermined time interval, etc.).
[0118] Among them, the description of the request for recording tag information and the processing of the request for recording tag information by the server device can refer to the description of the method embodiments above, and will not be elaborated here.
[0119] For the method provided by the embodiments of the present disclosure, if the client device obtains tag information in response to a tagging operation on a display object in the state where the account is not logged in, it will send a request for recording tag information to the server device. Correspondingly, the server device will perform a legality check on the request for recording tag information to identify a legal request for recording tag information (a request for recording tag information that passes the legality check) and an illegal request for recording tag information (a request for recording tag information that fails the legality check).
[0120] Optionally, before sending a request for synchronizing tag information to the server device, the client device can also send a request for pre-synchronizing tag information to the server device when logging in or registering with the target account, so that after receiving the request for pre-synchronizing tag information, the server device can find the legality check tag corresponding to the client device and determine whether the client device is allowed to send a request for synchronizing tag information according to the legality check tag.
[0121] For the description of the request for pre-synchronizing tag information and the processing of the request for pre-synchronizing tag information by the server device, reference can be made to the description of the method embodiments above, and will not be elaborated here.
[0122] Next, taking the tagging operation of liking a video as an example, the method for processing tag information provided by the embodiments of the present disclosure will be introduced from the perspective of the cooperation between the server device and the client device.
[0123] A viewer uses a client device to access a server device and views a video published by the server device. The client device displays the video published by the server device on its display screen, and at the same time when each video is displayed, a "like" button is also displayed. The information table and processing method for responding to the viewer's like operation on the video are as Figure 3 shown, and the specific operations are as follows:
[0124] Step 301, in the state where the account is not logged in, the client device sends a request for recording tag information to the server device, and the request for recording tag information carries tag information.
[0125] For example, in the state where the account is not logged in, when the viewer views Video A and triggers the "like" button, that is, performs the tagging operation of "liking" on Video A, the client device obtains the ID of Video A as tag information in response to the tagging operation, and then sends a request for recording tag information to the server device, and the request for recording tag information carries the ID of Video A.
[0126] Step 302: The server device receives the tag information recording request and requests the legality detection device to perform a legality detection on the received tag information recording request this time.
[0127] Step 303: The server device receives the legality detection result returned by the legality detection device.
[0128] Among them, the legality detection result indicates whether the legality detection is passed. By way of example and not limitation, the legality detection result is a Boolean value, and its value of TRUE indicates that the legality detection is passed, and its value of FALSE indicates that the legality detection is not passed.
[0129] Step 304: The server device associates and saves the current legality detection result with the video ID corresponding to the tag information recording request.
[0130] In practical applications, the server device and the legality detection device can be the same device or different devices, and this application does not limit this.
[0131] In practical applications, the tag information and the legality detection result can be associated and saved in a first-in-first-out data structure. Among them, the legality detection result associated with the identification data is used as the legality detection tag corresponding to the client device in the current tag information recording request, and each tag information recording request sent by the client device corresponds to a legality detection tag.
[0132] In practical applications, if a certain tag information recording request of the client device fails the legality detection, the client device is not allowed to perform information synchronization. It is also possible to set only one legality detection tag for each client device. The value of this legality detection tag being 1 indicates that the legality detections of all previous tag information recording requests have passed, and the value of the legality detection tag being 0 indicates that the legality detection of at least one tag information recording request has not passed.
[0133] In practical applications, it is also possible not to save the legality detection result, but to save the tag information corresponding to the tag information recording request that has passed the legality detection, and to indicate that the legality detection is passed by saving the tag information.
[0134] If the viewer likes other videos when the account is not logged in, the processing process of steps 301 to 304 above is referred to for processing.
[0135] For each like of the viewer when the account is not logged in, the client device not only sends a tag information recording request to the server device, but also saves the ID of the video liked this time on the client device. The IDs of these videos constitute the first like information set (corresponding to the above first list).
[0136] The client device also displays a "Personal Page" button on its display screen. If a viewer clicks the "Personal Page" button in the state of not logged in to the account, the client will call the personal page display interface and display a list of liked videos of the viewer during a specified time period in the state of not logged in to the account on this personal page display interface. To display this list of liked videos, step 305 is executed. Among them, the specified time period in the state of not logged in to the account can be configured according to the actual situation. For example, this time period is the time period of not logged in to the account on the current day, or this time period is the entire time period of not logged in to the account after the client device last logged out.
[0137] Step 305: The client device sends a request for liked videos in the state of not logged in to the server device, and the first liked information set is carried in this request.
[0138] Step 306: The server device filters invalid videos from the first liked information set, and the filtered first liked information set is returned to the client device in the response to the request for liked videos in the state of not logged in.
[0139] In practical applications, invalid videos are defined according to the actual situation. For example, videos deleted by the server, videos set by the user as not accessible without logging in, videos set by the user as only visible to the publisher, and so on.
[0140] Step 307: The client device generates a list of liked videos according to the first liked information set carried in the response to the request for liked videos in the state of not logged in and displays it on the personal page display interface.
[0141] In addition, the client device can also update the first liked information set saved in this device by using the first liked information set carried in the response.
[0142] The client device also displays "Login" and "Register" buttons on its display screen. If a viewer logs in using the target account by clicking the "Login" button, or registers the target account by clicking the "Register" button, after the login authentication is successful or the registration is successful, step 308 is executed.
[0143] Step 308: The client device sends a request for pre-synchronizing marking information to the server device, and the first liked information set is carried in this request for pre-synchronizing marking information.
[0144] Step 309: The server device determines whether the client device hits the legal detection result, that is, determines whether the client device has a record of failing the legal detection according to the legal detection result saved in the above-mentioned first-in, first-out data structure.
[0145] Step 310: If there is no historical record of failed legality detection in the data structure, the server device returns a response allowing synchronization to the client device; otherwise, it returns a response not allowing synchronization to the client device.
[0146] Step 311: The client device sends a marker information synchronization request to the server device, and the first like information set is carried in the marker information synchronization request.
[0147] Specifically, if information synchronization is allowed, the client device determines whether the target account is logging in to this device for the first time. If not, it asks the viewer through the human-computer interaction interface whether to synchronize the unlogged like data. With the viewer's consent, as Figure 3 shown, it sends a marker information synchronization request to the server device, and the first like information set is carried in the marker information synchronization request. If the target account is logging in to this device for the first time, there is no need to ask the viewer, and it directly sends a marker information synchronization request to the server device.
[0148] Step 312: The server device determines whether the client device hits the legality detection result, that is, the server device determines whether the client device has a record of failed legality detection according to the legality detection result saved in the above-mentioned first-in-first-out data structure.
[0149] Step 313: If there is no historical record of failed legality detection, the server device requests the legality detection device to perform legality detection on the marker information synchronization request.
[0150] If there is a historical record of failed legality detection in the data structure, no like information synchronization is performed.
[0151] Step 314: The server device receives the legality detection result returned by the legality detection device.
[0152] Step 315: If the legality detection fails, no like information synchronization is performed, and the current legality detection result is recorded for this client device (it can be recorded in the above data structure).
[0153] Step 316: If the legality detection passes, the server device updates the video IDs in the first like information set and synchronizes the updated video IDs in the first like information set to the like information set of the target account.
[0154] Specifically, the server device compares the video IDs in the first like information set with the video IDs saved in the above-mentioned first-in-first-out data structure, deletes the video IDs that are not in the data structure from the first like information set, and synchronizes the remaining video IDs in the first like information set to the like information set (corresponding to the second list) of the target account.
[0155] Step 317: The client device sends a display object acquisition request to the server device to acquire a display object corresponding to a specified marking operation.
[0156] For example, after a viewer logs in to a target account and clicks to enter the personal homepage, the client device sends a display object acquisition request to the server device in response to this click behavior of the viewer to acquire liked videos.
[0157] Step 318: The server device, in response to the display object acquisition request, searches for the display object according to a second list corresponding to the specified marking operation.
[0158] For example, the server device searches for videos corresponding to these video IDs according to the video IDs in the liked information set of the target account.
[0159] Step 319: The server device sends the found display object to the client device.
[0160] Step 320: The client device displays the received display object.
[0161] For example, the client device switches its display page to the personal homepage and displays the received display object on the personal homepage.
[0162] Based on the same inventive concept as the Figure 1 method shown, an embodiment of the present disclosure provides a server device, as Figure 4 shown, including:
[0163] A request receiving module 401, configured to receive a marking information synchronization request and a first list sent by the client device, where the marking information synchronization request is used to request to synchronize the marking information in the first list to a second list corresponding to the target account, and the marking information is obtained by the client device in response to a marking operation on a display object in the account unlogged state;
[0164] A legitimacy detection module 402, configured to perform a legitimacy detection on the marking information synchronization request;
[0165] An information synchronization module 403, configured to, when the marking information synchronization request passes the legitimacy detection, synchronize the marking information in the first list to the second list corresponding to the target account, so that the client device displays the display object corresponding to the marking information in the target account logged-in state.
[0166] The server device provided by the embodiments of the present disclosure allows viewers to perform marking operations on display objects in the state of not logging in to an account through a client device, and allows the marking information obtained in the state of not logging in to an account to be synchronized to a second list corresponding to the target account of the viewer. The specific implementation manner of information synchronization refers to the description of the above method embodiments. By using the server device provided by the embodiments of the present disclosure, the marking information obtained by the client device in response to the marking operation of the viewer in the state of not logging in to an account will be saved. After the viewer logs in to the target account, the viewer can quickly find the display objects marked in the state of not logging in to an account and the corresponding marking operations through the second list corresponding to the target account, reducing the difficulty of finding the display objects marked in the state of not logging in to an account after logging in to the account and improving the user experience. In addition, malicious operators may try to synchronize false marking information to the second list corresponding to the target account. Since malicious operators must send the above marking information synchronization request to the server device, the server device provided by the embodiments of the present disclosure performs a legality detection on the marking information synchronization request, which can effectively identify and block illegal synchronization requests for synchronizing false marking information, improving data security.
[0167] Optionally, the request receiving module may further receive the marking information recording request sent by the client device in the state of not logging in to an account, where the marking information recording request is used to indicate that the marking information is generated; the legality detection module may further perform a legality detection on the marking information recording request; correspondingly, the server device may further include a legality detection marking setting module for setting a legality detection marking corresponding to the client device according to the legality detection result of the marking information recording request.
[0168] If the client device marks a display object in the state of not logging in to an account, a marking information recording request will be sent to the server device. Correspondingly, the server device will perform a legality detection on the marking information recording request to identify a legal marking information recording request (a marking information recording request that passes the legality detection) and an illegal marking information recording request (a marking information recording request that fails the legality detection), and then set a legality detection marking corresponding to the client device according to the legality detection result of this request, at least used to indicate the legality detection result of this request. In practical applications, the legality detection marking can be flexibly used according to needs to meet the usage requirements.
[0169] An implementation method of using the above-mentioned legitimacy detection mark includes: before receiving a tag information synchronization request sent by a client device, a request receiving module receives a tag information pre-synchronization request sent by the client device; in response to the tag information pre-synchronization request, a legitimacy detection module searches for a legitimacy detection mark corresponding to the client device, and determines whether the client device is allowed to send a tag information synchronization request based on the legitimacy detection mark.
[0170] In this embodiment, the legitimacy detection mark corresponding to the client device can be used as a priori information for determining whether to allow sending the mark information synchronization request, thereby further improving data security.
[0171] There are multiple ways to implement the above judgment using the prior information of the legitimacy detection mark. In one embodiment, if the legitimacy detection mark corresponding to the client device indicates that the legitimacy detection results of all previous tag information recording requests are passed, the client device is allowed to send a tag information synchronization request, otherwise, the client device is not allowed to send a tag information synchronization request. In another embodiment, if the legitimacy detection mark corresponding to the client device indicates that the legitimacy detection result of at least one tag information recording request is passed, the client is allowed to send a tag information synchronization request for the tag information corresponding to the at least one tag information recording request, otherwise, the client device is not allowed to send a tag information synchronization request.
[0172] Optionally, the request receiving module can also receive a tag information record request sent by the client device when the account is not logged in, and the tag information record request is used to indicate that tag information has been generated; the legitimacy detection module is also used to perform a legitimacy check on the tag information record request; accordingly, the server-side device can also include a tag information saving module, which is used to save the tag information corresponding to the current tag information record request when the current tag information record request passes the legitimacy check.
[0173] The server device provided by the embodiment of the present disclosure saves the tag information corresponding to the request when the tag information record request passes the legitimacy check. On the one hand, when the browser account is not logged in, the browser can browse the marked display objects, and on the other hand, the saved tag information can be used as a legitimacy check tag.
[0174] Optionally, before the request receiving module receives the tag information synchronization request sent by the client device, it may also receive the tag information pre-synchronization request sent by the client device; in response to the tag information pre-synchronization request, the legality detection module may also search for the tag information of the client device, and determine whether the client device is allowed to send the tag information synchronization request according to the search result; if the tag information of the client device is found, the client device is allowed to send the tag information synchronization request for the found tag information, otherwise, the client device is not allowed to send the tag information synchronization request.
[0175] In this embodiment, the tag information saved when the above tag information record request passes the legality detection is used as the legality detection tag, specifically as the prior information for judging whether to allow the sending of the tag information synchronization request, further improving the security of the data.
[0176] Optionally, before performing the legality detection on the tag information synchronization request, the legality detection module may also judge whether to allow the legality detection of the above tag information synchronization request according to the legality detection results of at least one tag information record request. If so, the legality detection of the tag information synchronization request is performed.
[0177] In this embodiment, the legality detection result of the tag information record request sent by the client device in the unlogged-in state of the account is used as the prior information to judge whether to allow the synchronization of the tag information, further improving the security of the data.
[0178] Optionally, the implementation manner of synchronizing the tag information in the first list to the second list corresponding to the target account may include: updating the first list by using the tag information saved locally, where the tag information saved locally includes the tag information corresponding to the tag information record request; synchronizing the tag information in the updated first list to the second list corresponding to the target account.
[0179] In this embodiment, the first list is updated by using the tag information saved locally by the server device, thereby improving the reliability of information synchronization.
[0180] Based on the same inventive concept as the Figure 2 method shown, the embodiments of the present disclosure provide a client device, as Figure 5 shown, including:
[0181] A display object tagging module 501, configured to obtain tag information in response to tagging a display object in an unlogged-in state of an account;
[0182] A request sending module 502, which is configured to send a tag information synchronization request and a first list including the above-mentioned tag information to a server device when logging in or registering using a target account. The tag information synchronization request is used to request synchronizing the tag information in the first list to a second list corresponding to the target account, so that the server device can perform a legality check on the tag information synchronization request, and when the tag information synchronization request passes the legality check, synchronize the tag information in the first list to the second list corresponding to the target account, so that the client device can display a display object corresponding to the above-mentioned tag information in the target account login state.
[0183] The client device provided by the embodiments of the present disclosure allows a viewer to perform a tagging operation on a display object in a state where the account is not logged in, and allows synchronizing the tag information obtained in the state where the account is not logged in to a second list corresponding to the viewer's target account. The specific implementation manner of information synchronization refers to the description of the above method embodiments. By using the client device provided by the embodiments of the present disclosure, the tag information obtained by the client device in response to the tagging operation of the viewer in the state where the account is not logged in will be saved. After the viewer logs in to the target account, the viewer can quickly find the display object tagged in the state where the account is not logged in and the corresponding tagging operation through the second list corresponding to the target account, reducing the difficulty of finding the display object tagged in the state where the account is not logged in after logging in to the account and improving the user experience. In addition, malicious operators may try to synchronize false tag information to the second list corresponding to the target account. Since malicious operators must send the above-mentioned tag information synchronization request to the server device, the client device provided by the embodiments of the present disclosure performs a legality check on the tag information synchronization request, which can effectively identify and block illegal synchronization requests for synchronizing false tag information, improving data security.
[0184] Optionally, the request sending module may also send a tag information recording request to the server device in a state where the account is not logged in, so that the server device can perform a legality check on the tag information recording request, and the tag information recording request is used to indicate that tag information is generated.
[0185] For the client device provided by the embodiments of the present disclosure, if a display object is tagged in a state where the account is not logged in, a tag information recording request will be sent to the server device. Correspondingly, the server device will perform a legality check on the tag information recording request to identify a legal tag information recording request (a tag information recording request that passes the legality check) and an illegal tag information recording request (a tag information recording request that fails the legality check).
[0186] Optionally, before sending a tag information synchronization request to the server device, the request sending module may also send a tag information pre-synchronization request to the server device when logging in or registering with the target account, so that after receiving the tag information pre-synchronization request, the server device searches for the legality detection tag corresponding to the client device, and determines whether the client device is allowed to send a tag information synchronization request according to the legality detection tag.
[0187] The present disclosure also provides a tag information processing system, as Figure 6 shown. The system includes:
[0188] A client device 601, each client device 601 obtains tag information in response to marking a display object in a state where the account is not logged in; when logging in or registering with the target account, sends a tag information synchronization request and a first list including the above-mentioned tag information to the server device, and the tag information synchronization request is used to request to synchronize the tag information in the first list to a second list corresponding to the target account;
[0189] A server device 602, the server device 602 receives the tag information synchronization request and the first list sent by the client device 601; performs a legality detection on the tag information synchronization request; in the case where the tag information synchronization request passes the legality detection, synchronizes the tag information in the first list to the second list corresponding to the target account, so that the client device 601 displays the display object corresponding to the tag information in the target account login state.
[0190] Wherein, both the client device 601 and the server device 602 are connected to the Internet 603 and communicate through the Internet 603.
[0191] Wherein, the various functions that the client device 601 can implement and the corresponding implementation manners can refer to the description of the client device embodiment above, and will not be elaborated here.
[0192] Wherein, the various functions that the server device 602 can implement and the corresponding implementation manners can refer to the description of the server device embodiment above, and will not be elaborated here.
[0193] The above-mentioned modules can be implemented as software components executed on one or more general-purpose processors, or can be implemented as hardware such as programmable logic devices and / or application-specific integrated circuits that perform certain functions or combinations thereof. In some embodiments, these modules can be embodied in the form of a software product, which can be stored in a non-volatile storage medium, and the non-volatile storage medium includes instructions that enable a computer device (such as a personal computer, a server, a network device, a mobile terminal, etc.) to implement the methods described in the embodiments of the present invention. In one embodiment, the above-mentioned modules can also be implemented on a single device or distributed on multiple devices. The functions of these modules can be merged with each other or further split into multiple sub-modules.
[0194] The server device in each of the above embodiments can include a single server or a server group (such as a server cluster).
[0195] The client device in each of the above embodiments can include a mobile terminal, such as a smart phone, a personal digital assistant, a tablet computer, a wearable device with a display screen, etc., and can also include a computer device, such as a desktop computer, a laptop computer, an all-in-one computer, etc.
[0196] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the modules of the server device and the client device described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0197] Based on the same inventive concept as the method, embodiments of the present disclosure also provide an electronic device, including a processor and a memory;
[0198] The memory is used to store a program for executing the methods described in the foregoing method embodiments; the processor is configured to execute the program stored in the memory. The processor can be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and can control other components in the electronic device to perform desired functions. The memory can include one or more computer program products, and the computer program products can include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory can include, for example, random access memory (RAM) and / or cache memory, etc. The non-volatile memory can include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions can be stored on the computer-readable storage medium, and the processor can run the program instructions to implement the functions of the embodiments of the present disclosure described above and / or other desired functions.
[0199] If the memory stores and executes Figure 1The program of the method shown. The electronic device provided by the embodiments of the present disclosure may include a server, such as Figure 7 shown. The server at least includes: a power supply, logically connected to the central processing unit through a power management system, so as to realize functions such as charging management, discharging management, and power consumption management through the power management system; a main board, providing an electrical connection path between components, and each component transmits electrical signals through the main board, and each component is installed on the main board by plugging, welding, etc.; a central processing unit, mainly including an arithmetic logic unit (ALU, Arithmetic Logic Unit), a program counter (PC, Program Counter), a register group, a cache memory (Cache), and a bus (Bus) interface for transmitting data, control, and status; an internal memory, a disk (i.e., the memory storing the program for executing the method described in each method embodiment), an input unit (including a mouse, a keyboard, a touch panel, etc.), a display unit (including a display screen and a graphics card), and a network card exchange data with the central processing unit through a bus.
[0200] Execute Figure 1 The program for the method described and related data are first read from the disk into the internal memory, and the central processing unit reads and loads the program from the internal memory.
[0201] Those skilled in the art can understand that Figure 7 the computer device structure shown in
[0202] does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine some components, or have different component arrangements.
[0202] If the memory stores the program for executing Figure 2 the method shown, the electronic device provided by the embodiments of the present disclosure may include a mobile terminal, such as Figure 8 shown. The client device not only includes a processor and a memory, but also includes an input device (such as a touch screen, a camera, a microphone, etc.), an output device (such as a display screen, a speaker, etc.), a communication module, and a power module.
[0203] Among them, the memory, the input device, the output device, the communication module, and the power module are connected to the processor through a serial port, a bus, or a USB interface. Among them, for a single-processor mobile terminal, the processor is the CPU (central processing unit); for a dual-processor mobile terminal, the processor includes a main processor and a slave processor, and the main processor executes the application program to implement the method provided by the embodiments of the present invention. If communication with the outside world is required, the slave processor controls the communication module to cooperate to achieve it; for a mobile terminal including a GPU (graphics processing unit) and a CPU, the processor refers to the GPU and the CPU, and the method provided by the embodiments of the present disclosure is implemented by the cooperation of the GPU and the CPU or by the CPU alone.
[0204] Among them, the memory of the mobile terminal may but is not limited to including: Flash (flash) memory, RAM (random access memory), ROM (read-only memory), etc. RAM is mainly used to store programs and data during the operation of the mobile terminal. Programs to be executed or data to be processed must be loaded into RAM first. ROM is mainly used to check the configuration of the mobile terminal operating system and provide the most basic input / output (I / O) programs. Flash memory is a long-life non-volatile memory (able to retain the stored data information even when powered off). Data deletion is not in units of single bytes, but in fixed blocks. Since Flash memory can still save data when powered off, it is usually used to save setting information, such as the setting information of the user for the mobile phone, etc.
[0205] It should be noted that for different mobile terminals (single-processor smart phones, dual-processor smart phones, smart wearable devices, tablet computers, etc.), they may include more or fewer hardware structures than the Figure 8 shown mobile terminal. However, as long as they include a memory and a processor and can implement the functions of the above method embodiments, they are all within the protection scope of the present disclosure.
[0206] Based on the same inventive concept as the method, embodiments of the present disclosure also provide a computer-readable storage medium storing a program for executing the methods described in the respective embodiments corresponding to the above client device and / or server device.
[0207] This specification is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the specified functions in Figure 1 one or more of the processes and / or one or more of the blocks Figure 1 specified in the flowcharts and / or block diagrams.
[0208] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device that implements the specified functions in Figure 1 one or more of the processes and / or one or more of the blocks Figure 1 specified in the flowcharts and / or block diagrams.
[0209] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are performed on the computer or other programmable apparatus to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in one process or a plurality of processes and / or blocks Figure 1 one process or a plurality of processes and / or blocks Figure 1 or steps for implementing the functions specified in one block or a plurality of blocks.
[0210] Although the preferred embodiments of the present specification have been described, additional changes and modifications can be made to these embodiments by those skilled in the art once they learn the basic creative concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the present specification.
[0211] Obviously, those skilled in the art can make various changes and modifications to the present specification without departing from the spirit and scope of the present specification. Thus, if these modifications and variations of the present specification fall within the scope of the claims of the present specification and their equivalent technologies, the present specification is also intended to include these modifications and variations.
Claims
1. A method for processing marked information, applied to a server device, characterized in that, include: Receiving a tag information recording request sent by a client device when the account is not logged in, wherein the tag information recording request is used to indicate that tag information is generated; The marking information is obtained by the client device in response to a marking operation on a display object in a state where the account is not logged in; Performing a legitimacy check on the tag information recording request, and setting a legitimacy check mark corresponding to the client device according to a legitimacy check result on the tag information recording request; The legitimacy detection mark is used to determine whether the client device is allowed to send a tag information synchronization request; or, if the tag information recording request passes the legitimacy detection, save the tag information; The tag information is used to determine whether the client device is allowed to send a tag information synchronization request; Receiving the tag information synchronization request and the first list sent by the client device, wherein the tag information synchronization request is used to request synchronization of the tag information in the first list to a second list corresponding to a target account; Performing a validity check on the tag information synchronization request; When the tag information synchronization request passes the legitimacy check, the tag information in the first list is synchronized to the second list corresponding to the target account, so that the client device displays the display object corresponding to the tag information when the target account is logged in.
2. The method according to claim 1, wherein Before receiving the tag information synchronization request sent by the client device, the method further includes: Receiving a tag information pre-synchronization request sent by the client device; In response to the tag information pre-synchronization request, a legitimacy detection tag corresponding to the client device is searched, and it is determined according to the legitimacy detection tag whether the client device is allowed to send the tag information synchronization request.
3. The method according to claim 2, characterized in that: If the legitimacy detection mark corresponding to the client device indicates that the legitimacy detection results of all previous tag information record requests are passed, the client device is allowed to send the tag information synchronization request, otherwise, the tag information synchronization request is not allowed to be sent; or If the legitimacy detection mark corresponding to the client device indicates that the legitimacy detection result of at least one tag information record request is passed, the client is allowed to send the tag information synchronization request for the tag information corresponding to the at least one tag information record request, otherwise, the client device is not allowed to send the tag information synchronization request.
4. The method according to claim 1, characterized in that, Before receiving the tag information synchronization request sent by the client device, the method further includes: Receiving a tag information pre-synchronization request sent by the client device; In response to the tag information pre-synchronization request, the tag information corresponding to the client device is searched, and it is determined whether the client device is allowed to send the tag information synchronization request based on the search result; if the tag information corresponding to the client device is found, the client device is allowed to send a tag information synchronization request for the found tag information, otherwise, the client device is not allowed to send a tag information synchronization request.
5. The method according to any one of claims 1 to 4, characterized in that Before performing the legality detection on the marker information synchronization request, the method further includes: judging whether to allow the legality detection on the marker information synchronization request according to the legality detection results for at least one marker information recording request; if so, performing the legality detection on the marker information synchronization request.
6. The method according to any one of claims 1 to 4, characterized in that, Synchronizing the marker information in the first list to the second list corresponding to the target account includes: Updating the first list according to the locally saved marker information, where the locally saved marker information includes the marker information indicated by the marker information recording request; and synchronizing the marker information in the updated first list to the second list corresponding to the target account.
7. A method for processing marked information, applied to a client device, characterized in that, including: responding to a marking operation on a display object in the account unlogged state to obtain marker information; sending a marker information recording request to the server device in the account unlogged state, where the marker information recording request is used to indicate the generation of the marker information, so that the server device performs a legality detection on the marker information recording request, and sets a legality detection flag corresponding to the client device according to the legality detection result for the marker information recording request; The legality detection flag is used to judge whether the client device is allowed to send a marker information synchronization request; or, so that the server device saves the marker information when the marker information recording request passes the legality detection; The marker information is used to judge whether the client device is allowed to send a marker information synchronization request; when logging in or registering with a target account, sending the marker information synchronization request and a first list including the marker information to the server device, where the marker information synchronization request is used to request synchronizing the marker information in the first list to the second list corresponding to the target account, so that the server device performs a legality detection on the marker information synchronization request, and synchronizes the marker information in the first list to the second list corresponding to the target account when the marker information synchronization request passes the legality detection, so that the client device displays the display object corresponding to the marker information in the target account logged state.
8. The method according to claim 7, wherein Before sending a marker information synchronization request to the server device, the method further includes: sending a marker information pre-synchronization request to the server device when logging in or registering with the target account, so that after receiving the marker information pre-synchronization request, the server device searches for the legality detection flag corresponding to the client device, and determines whether the client device is allowed to send the marker information synchronization request according to the legality detection flag.
9. A server device, characterized in that, including: a request receiving module, configured to receive a marker information recording request sent by a client device in the account unlogged state, where the marker information recording request is used to indicate the generation of marker information; The marker information is obtained by the client device in response to a marking operation on a display object in the account unlogged state; A legality detection mark setting module, configured to perform legality detection on the mark information recording request, and set a legality detection mark corresponding to the client device according to the legality detection result of the mark information recording request; The legality detection mark is used to determine whether the client device is allowed to send a mark information synchronization request; alternatively, it includes a mark information storage module, configured to store the mark information when the mark information recording request passes the legality detection; the mark information is used to determine whether the client device is allowed to send a mark information synchronization request; The request receiving module is further configured to receive the mark information synchronization request and a first list sent by the client device, where the mark information synchronization request is used to request to synchronize the mark information in the first list to a second list corresponding to the target account; A legality detection module, configured to perform legality detection on the mark information synchronization request; An information synchronization module, configured to synchronize the mark information in the first list to the second list corresponding to the target account when the mark information synchronization request passes the legality detection, so that the client device displays a display object corresponding to the mark information in the target account login state.
10. A client device, characterized in that, It includes: A display object marking module, configured to obtain mark information in response to a marking operation on a display object in an account non-login state; A request sending module, configured to send a mark information recording request to the server device in an account non-login state, where the mark information recording request is used to indicate that the mark information is generated, so that the server device performs legality detection on the mark information recording request, and sets a legality detection mark corresponding to the client device according to the legality detection result of the mark information recording request; The legality detection mark is used to determine whether the client device is allowed to send a mark information synchronization request; alternatively, so that the server device stores the mark information when the mark information recording request passes the legality detection; the mark information is used to determine whether the client device is allowed to send a mark information synchronization request; The request sending module is further configured to send the mark information synchronization request and a first list including the mark information to the server device when logging in or registering with a target account, where the mark information synchronization request is used to request to synchronize the mark information in the first list to the second list corresponding to the target account, so that the server device performs legality detection on the mark information synchronization request, and synchronizes the mark information in the first list to the second list corresponding to the target account when the mark information synchronization request passes the legality detection, so that the client device displays a display object corresponding to the mark information in the target account login state.
11. An electronic device, characterized in that, It includes a processor and a memory; The memory is used to store a program for executing the method according to any one of claims 1 to 8; The processor is configured to execute the program stored in the memory.
12. A computer-readable storage medium, characterized in that, A program for executing the method according to any one of claims 1 to 8 is stored.
Citation Information
Patent Citations
Information auditing method and device and electronic device
CN109766508A
Mark data processing method and device and storage medium
CN111371953A
Cited By
Marking information processing method and device, and storage medium
US12519852B2