CN112100534A - Information processing method, device, medium and electronic equipment in page sharing - Google Patents
Information processing method, device, medium and electronic equipment in page sharing Download PDFInfo
- Publication number
- CN112100534A CN112100534A CN202010964028.2A CN202010964028A CN112100534A CN 112100534 A CN112100534 A CN 112100534A CN 202010964028 A CN202010964028 A CN 202010964028A CN 112100534 A CN112100534 A CN 112100534A
- Authority
- CN
- China
- Prior art keywords
- client
- sharing
- page
- target
- identifier
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9558—Details of hyperlinks; Management of linked annotations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
An embodiment of the application provides an information processing method, an information processing device, an information processing medium and electronic equipment in page sharing, and the method comprises the following steps: displaying first page link information originating from a first client; detecting a click operation triggered by the first page link information; if the click operation is detected, a control integrated in the target client reports a viewing event to a control server, wherein the viewing event comprises encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client; the control server side updates the client side identification of the first client side and the sharing depth corresponding to the first client side to the sharing path of the page according to the sharing event reported by the control in the first client side and the viewing event reported by the control in the target client side, and the sharing path of the page is recorded on the basis that the client side identification is not exposed in the sharing link.
Description
Technical Field
The present disclosure relates to the field of computer and communication technologies, and in particular, to an information processing method, an information processing apparatus, an information processing medium, and an electronic device in page sharing.
Background
The sharing path of the page records the sharing relationship between the clients and directly reflects the shared condition of the page, so that the sharing path of the page has important value for the publisher of the page content.
In the related art, in order to record a sharing path of a page, a client identifier corresponding to a client participating in page sharing is directly exposed in a sharing link, that is, when a sharing party shares the page, the client identifier of the client where the sharing party is located is added to page information, then the page information added with the client identifier corresponding to the sharing party is shared to a receiving party, and then a page sharing process is recorded according to the received page information.
In the process, the client identifier is directly exposed in the sharing link, so that the client identifier may be stolen, and the risk of the client information being leaked is high.
Disclosure of Invention
Embodiments of the present application provide an information processing method, an information processing apparatus, an information processing medium, and an electronic device in page sharing, so as to solve a problem in the related art that a client identifier may be stolen because the client identifier is exposed in a sharing link to record a sharing path.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided an information processing method in page sharing, including: displaying first page link information from a first client, wherein the first client sends the first page link information to a target client according to a sharing operation triggered to a displayed page, a control integrated in the first client reports a sharing event to a control server after detecting the sharing operation, and the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page; detecting a click operation triggered by the first page link information; if the click operation is detected, a control integrated in a target client reports a viewing event to a control server, wherein the viewing event comprises encrypted information of a first client carried by the first page link information and a sharing depth corresponding to the first client; and the control server side updates the client identification of the first client and the sharing depth corresponding to the first client to the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
According to an aspect of an embodiment of the present application, there is provided an information processing method in page sharing, including: receiving a sharing event reported by a control integrated by a first client; according to a sharing operation triggered on a page displayed in the first client, reporting the sharing event to a control server by the integrated control in the first client, wherein the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page, and the first client shares first page link information of the page to a target client according to the sharing operation; receiving a viewing event reported by a control integrated in the target client, wherein the viewing event is reported by the control integrated in the target client according to a click operation triggered by first page link information displayed in the target client, and the viewing event comprises encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client; and updating the client identifier of the first client and the sharing depth corresponding to the first client to the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
According to an aspect of an embodiment of the present application, there is provided an information processing apparatus in page sharing, including: the display module is used for displaying first page link information from a first client, the first client sends the first page link information to a target client according to a sharing operation triggered on a displayed page, a control integrated in the first client reports a sharing event to a control server after detecting the sharing operation, and the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page; the first detection module is used for detecting click operation triggered by the first page link information; the first reporting module is used for reporting a viewing event to a control server by a control integrated in a target client if the click operation is detected, wherein the viewing event comprises encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client; and the control server side updates the client identification of the first client and the sharing depth corresponding to the first client to the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
In some embodiments of the present application, the apparatus further comprises: and the page display module is used for displaying the page in the target client side if the click operation is detected.
In some embodiments of the present application, the apparatus further comprises: the second detection module is used for detecting the sharing operation triggered on the page displayed in the target client; and the sharing event reporting module is used for reporting a sharing event to a control server by a control integrated in the target client if the sharing operation triggered to the page displayed in the target client is detected, wherein the sharing event reported by the control in the target client comprises the encrypted information of the target client, the client identification of the target client and the page identification of the page.
In some embodiments of the present application, the apparatus further comprises: the acquisition module is used for acquiring a first identifier generated by the control for the target client and acquiring a page identifier of the page; and the combined encryption module is used for carrying out combined encryption on the first identifier of the target client and the page identifier to obtain the encryption information of the target client.
In some embodiments of the present application, the apparatus further comprises: the sharing module is used for sharing second page link information corresponding to the page if sharing operation triggered on the page displayed in a target client is detected, wherein the second page link information carries encryption information of the target client and a sharing depth corresponding to the target client, and the sharing depth corresponding to the target client is obtained by adding the sharing depth corresponding to the first client to a set number.
In some embodiments of the present application, the sharing module includes: a channel selection operation detection unit for detecting a channel selection operation triggered in the target client; and the sharing unit is used for sharing the second page link information through the sharing channel selected by the channel selection operation.
In some embodiments of the present application, the sharing unit includes: an object identifier obtaining unit, configured to, if the sharing channel selected by the channel selection operation is a friend channel, obtain, according to a triggered friend selection operation, an object identifier corresponding to a receiving object selected by the friend selection operation, where the receiving object includes at least one of a friend who establishes a friend relationship with the target client and a group added to the target client; and the first sharing unit is used for sharing the second page link information with the instant messaging window of the receiving object through the target client according to the object identifier.
In some embodiments of the present application, the sharing unit is further configured to: and if the sharing channel selected by the channel selection operation is a content aggregation page, sharing the second page link information to the content aggregation page of the client where the receiving object is located, wherein the receiving object comprises the target client and a friend establishing a friend relationship with the target client.
According to an aspect of an embodiment of the present application, there is provided an information processing apparatus in page sharing, including: the first receiving module is used for receiving the sharing event reported by the control integrated by the first client; according to a sharing operation triggered on a page displayed in the first client, reporting the sharing event to a control server by the integrated control in the first client, wherein the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page, and the first client shares first page link information of the page to a target client according to the sharing operation; a second receiving module, configured to receive a viewing event reported by a control integrated in the target client, where the viewing event is reported by the control integrated in the target client according to a click operation triggered by first page link information displayed in the target client, and the viewing event includes encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client; and the updating module is used for updating the client identifier of the first client and the sharing depth corresponding to the first client to the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
In some embodiments of the present application, the apparatus further comprises: the association module is used for associating the encrypted information of the first client, the client identifier of the first client and the page identifier of the page, which are included in the sharing event, to obtain association information, and storing the association information into an association information set;
an update module, comprising: the association unit is used for searching information in the association information set according to the encrypted information in the viewing event reported by the control in the target client, and determining target association information, wherein the target association information comprises the encrypted information in the viewing event reported by the control in the target client; a determining unit, configured to use a client identifier in the target association information as a client identifier of the first client; and the updating unit is used for updating the client identifier of the first client and the sharing depth corresponding to the first client to the sharing path of the page.
In some embodiments of the present application, the update unit includes:
a second determining unit, configured to determine, according to a sharing event and a viewing event reported by a control integrated by a second client for the page and a viewing event reported by a control integrated by the first client for the page, a client identifier of the second client and a sharing depth corresponding to the second client, where the second client shares third page link information corresponding to the page to the first client according to a sharing operation triggered to the displayed page, and the page displayed by the first client enters according to a click operation triggered to the received third page link information; the node searching unit is used for searching a reference node in a sharing path of the page according to the client identifier of the second client and the sharing depth corresponding to the second client, and taking a node which stores the client identifier of the second client and the sharing depth corresponding to the second client in an associated manner as the reference node; and the storage unit is used for storing the client identifier of the first client and the sharing depth corresponding to the first client to a node next to the reference node in the sharing path of the page in an associated manner.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: a processor; a memory having computer readable instructions stored thereon which, when executed by the processor, implement the method described above.
According to an aspect of embodiments of the present application, there is provided a computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor, implement the above-described method.
According to the scheme, in the process of sharing the page to the target client by the first client, in the first client, the encryption information of the first client and the sharing depth corresponding to the first client are added to the page link information corresponding to the page, and the client identifier of the first client is not directly exposed in the page sharing process, so that the client identifier corresponding to the first client serving as a sharing party in the page sharing process can be effectively prevented from being stolen.
When the sharing operation is triggered on the page displayed in the first client by means of the control integrated in the first client, reporting a sharing event to the control server so as to report the client identifier, the encrypted information and the page identifier of the page to be shared of the first client as a sharing party to the control server; after the target client receives the first page link information shared by the first client, the control integrated in the target client reports a viewing event to the control server according to a click operation triggered by the first page link information displayed in the target client, so that the encryption information of the first client carried by the first page link information and the sharing depth of the first client carried by the first page link information are reported to the control server; furthermore, the control server adds the client identifier of the first client and the sharing depth of the first client to the sharing path of the page according to the encrypted information in the sharing event reported by the control integrated in the first client and the viewing event reported by the control integrated in the target client, so that the sharing path of the page is obtained on the premise that the client identifier of the first client is not exposed in the sharing link, and the problem of potential safety hazard caused by directly exposing the client identifier of the client of the sharing party in the sharing link in the prior art is effectively solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 shows a schematic diagram of an exemplary system architecture to which aspects of embodiments of the present application may be applied;
FIG. 2 is a flow diagram illustrating a method of information processing in page sharing, according to one embodiment;
FIG. 3 is a schematic diagram illustrating an interface for sharing channel selection, according to one embodiment;
FIG. 4 illustrates an interface diagram for sharing an applet page through a friend channel;
FIG. 5 shows an interface diagram for sharing an applet page to a circle of friends;
fig. 6 is a flowchart illustrating an information processing method in page sharing according to another embodiment of the present application;
FIG. 7 is a flowchart illustrating step 630 according to one embodiment;
FIG. 8 is a flowchart illustrating step 730, according to an embodiment;
FIG. 9 is a diagram illustrating interaction between clients and a control server in page sharing, according to an embodiment;
FIG. 10 is a timing diagram of the page sharing process shown in FIG. 9;
FIG. 11 is a block diagram illustrating an information processing apparatus in page sharing according to one embodiment;
fig. 12 is a block diagram showing an information processing apparatus in page sharing according to another embodiment;
FIG. 13 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Cloud technology (Cloud technology) is based on a general term of network technology, information technology, integration technology, management platform technology, application technology and the like applied in a Cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of technical network systems require a large amount of computing, storage resources, such as data statistics in the clients. To reflect the behavior of users in clients, more and more tools are being developed for user data statistics.
In the page sharing process, statistics of page sharing is also related, and data mining is performed through the information in the page sharing process, such as users sharing the page, sharing channels used by the sharing page, the shared number of the page and sharing paths of the page, by means of the information which is counted, so that the love degree of the page in a user group can be further known.
Especially, the sharing path of the page directly reflects the shared situation of the page. Therefore, the recording of the sharing path of the page is crucial for the feedback of the software product. As described above, in the related art, the recording of the sharing path directly exposes the client identifier of the client where the sharing party is located in the sharing link, so that the client identifier is at risk of being stolen.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied.
As shown in fig. 1, the system architecture may include a plurality of terminals 110 and a control server 120, each terminal 110 and the control server 120 may communicate with each other through a wired or wireless network, and the terminal 110 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like, which is not limited in this respect.
It should be understood that the number of terminals 110 and control servers 120 in fig. 1 is merely illustrative. There may be any number of terminals and servers, as desired for implementation. For example, the control server may be a server cluster composed of a plurality of servers.
In the embodiment of the application, each terminal can run a client program, so that each terminal serves as a client in the application, and the client can share pages.
Wherein, the control is integrated in the client. Wherein the widget may be a Software Development Kit (SDK). And reporting the viewing event and the sharing event in the page sharing process to a server based on a control integrated in the client, and updating the sharing path of the page by the control server according to the viewing event and the sharing event reported by the control.
In the system architecture shown in fig. 1, a widget server is used to serve widgets integrated in clients, and the widget server is different from a server serving clients. It can be understood that the page sharing between the client and the client is implemented based on the server corresponding to the client. For example, if the client a intends to share a page to the client B, assuming that the client a and the client B are both clients of the wechat application, the client a shares page link information to the client B through a server of the wechat application.
In some embodiments of the present application, each client in page sharing may be a client under the same application, for example, clients that are all wechat applications and clients that are all QQ applications; the client may also be a client under different applications, for example, in one page sharing, the client where the sharing party is located is a client of the WeChat application, and the client where the receiving party is located is a client where the QQ application is located.
For convenience of description, a client is used as a target client to describe the reporting process of the viewing event and the sharing event.
After triggering click operation on page link information displayed in a target client, a control integrated by the target client reports a viewing event to a control server, wherein the viewing event comprises encrypted information of a previous-level client, a client identifier of the previous-level client and a page identifier of a page linked by the page link information, and the previous-level client is relative to the target client and is a client sharing the page link information to the target client.
And after clicking operation is triggered according to the page link information displayed in the target client, displaying the page linked by the page link information in the target client correspondingly. After the page displayed in the target client is triggered to share, the integrated control reports a sharing event to the control server, wherein the reported sharing event comprises the encryption information of the upper-level client carried in the page link information and the sharing depth of the upper-level client carried in the page link information.
And after receiving the sharing event and the viewing event reported by the target client, the control server updates the sharing path of the page according to the client identifier of the upper-level client corresponding to the target client and the sharing depth of the upper-level client corresponding to the target client.
The implementation details of the technical solution of the embodiment of the present application are set forth in detail below:
fig. 2 is a flowchart illustrating an information processing method in page sharing according to an embodiment of the present application, where the information processing method in page sharing may be performed by a device having a computing processing function, such as the terminal device shown in fig. 1. Referring to fig. 2, the information processing method in page sharing at least includes steps 210 to 230, which are described in detail below.
The page sharing may also be referred to as page forwarding, for a page to be forwarded, after a client triggers a forwarding operation on the page to be forwarded and specifies a receiving object, the client correspondingly sends a sharing request to a server (i.e., a server providing a service to the client) corresponding to the client, and the server generates page link information corresponding to the page according to the sharing request and shares the page link information to the specified receiving object. It is to be understood that the page link information generated by the server includes at least the page link of the page. After the receiving object receives the page link information, the user may enter the linked page through the page link information, for example, by entering the linked page for the displayed page link information.
In the process, it can be seen that the page sharing is actually realized based on the page link information, that is, the page link information corresponding to the page is shared to the receiving object, so that the receiving object can directly enter the linked page through the page link information.
It should be noted that the target client does not refer to a specific client, but refers to a client that needs to perform page sharing. The first client is relative to the target client, that is, the first client is relative to the upper-level client of the page to be shared, and the page to be shared in the target client enters according to the first sharing link information shared by the first client to the target client.
According to the scheme, the encryption information of the client side where the sharing party is located and the sharing depth of the client side where the sharing party is located are added to the page link information sent to the client side where the receiving party is located for page sharing. Obviously, even in the process of sharing the same page, the client identifiers of the clients where different sharing parties are located and the corresponding sharing depths of the clients where the sharing parties are located are different, so that the page link information sent by the clients where different sharing parties are located is different.
The first page link information refers to page link information shared by the first client to the target client, and the first page link information at least comprises a page link of a linked page, first encryption information of the first client and a sharing depth corresponding to the first client.
The sharing depth corresponding to the first client is related to the shared page, and for the page shared by the first client, the sharing depth corresponding to the first client indicates a hierarchical position of the first client in a sharing path of the page.
For example, if the sharing process of a page is: client a shares pages to client B1 and client B2, client B1 shares pages to client C1, and client B2 shares pages to client C2 and client C3. In the sharing process of the page, the sharing depth corresponding to the client a is 1, the sharing depth corresponding to the client B1 and the client B2 is 2, and the sharing depth corresponding to the client C1, the client C2, and the client C3 is 3.
In the scheme of the present application, the shared page may be an applet page or a public content page, which is not specifically limited herein.
In the scheme of the application, a control integrated by a client (a first client, a target client, etc.) is used for reporting a viewing event to a server corresponding to the control when link information of a page displayed in the client is triggered to be clicked, and reporting a sharing event to the server corresponding to the control when the page displayed in the client is triggered to be forwarded.
In the sharing process of one page, the encrypted information of the first client in the sharing event reported by the control integrated by the first client is used as a medium for identifying the first client.
In some embodiments of the present application, the encryption information is associated with the client and the page shared with the client, such that the encryption information is correspondingly different if the client is different and/or if the page shared is different.
In some embodiments of the present application, the encryption information of the first client combines and encrypts the first identifier of the first client and the page identifier of the page to be shared. The first identification of the first client is an identification generated by the integrated control for the first client and used for identifying the first client. The page identification of the page may be a URL (Uniform Resource Locator) of the page.
In some application scenarios, for example, some applet applications may acquire the client identifier of the client in the applet application only after the client user logs in the applet application, whereas if the user only browses a page in the applet application but does not log in the applet application, the control cannot acquire the client identifier of the client in the applet application. And generating a first identifier for the client through the integrated control, and combining and encrypting the first identifier and the page identifier of the page to be shared to obtain the encrypted information, so that whether the client identifier in the applet application is acquired or not can be ensured without influencing the generation of the encrypted information of the client in the page sharing.
In some embodiments of the present application, the integrated control may generate a Unique first Identifier for the client through a UUID (Universally Unique Identifier) algorithm, that is, the first Identifier of the client is a UUID code, and the UUID code is formed by a group of 32-bit 16-ary digits.
The method comprises the steps that after a control integrated in a client generates a first identifier for the client, the first identifier is stored in the local part of the client, so that after the client triggers a sharing operation on any page, the integrated control can obtain the first identifier and carry out combined encryption on the first identifier and a page identifier of a page to be shared to obtain encrypted information corresponding to the client.
Of course, in an application scenario where the client identifier of the client is obtained without logging in, the encryption information of the client may also be obtained by directly performing combination encryption by using the client identifier of the client and the page identifier of the page.
In some embodiments of the present application, after combining the first identifier of the client (or the client identifier) and the page identifier of the page to be shared, an MID Algorithm or an MD5 encryption Algorithm (Message-Digest Algorithm 5) may be used for encryption, so as to obtain corresponding encrypted information. The MID algorithm is implemented by using a MID function for extracting characters from a character string, and the character extraction is implemented by specifying the character string to be subjected to the character extraction, the number of extracted characters from the start of the character extraction, and the like. Of course, the encryption algorithm employed is not limited to the above listed algorithms.
In the target client, the click operation triggered to the display area of the first page link information can be used for entering the page linked by the first page link information correspondingly.
According to the scheme, the first client shares the encryption information of the first client and the sharing depth corresponding to the first client in the first page link information of the target client, and the integrated control in the target client takes the encryption information of the first client and the sharing depth corresponding to the first client as parameters of a sharing event and reports the sharing event to the control server.
The information carried in the first page link information includes the encryption information of the first client and the sharing depth corresponding to the first client, and does not include the client identifier of the first client, that is, the client identifier of the first client is not exposed in the sharing link in the process of sharing the first page link information to the target client, so that the situation that the client identifier is stolen in the process of sharing the first page link information to the target client can be avoided.
The viewing event reported by the control in the target client to the control server is equivalent to a completion of one sharing conversion, and the control server cannot confirm the client corresponding to the encrypted information only according to the encrypted information in the viewing event, so that the client corresponding to the encrypted information in the viewing event needs to be identified, that is, the client identifier of the client corresponding to the encrypted information in the viewing event is determined.
Specifically, the viewing event reported by the control in the target client is taken as the viewing event to be recognized, the encrypted information in the viewing event to be recognized and the encrypted information in the sharing event are matched, so as to match the sharing event with the same encrypted information as the encrypted information in the viewing event to be recognized, and the client identifier in the matched sharing event is the client identifier of the client (in this embodiment, the client identifier of the first client) corresponding to the encrypted information in the viewing event, which is equivalent to recognizing that the first page link information of the target client comes from the first client.
In the process, the encrypted information is used as an intermediate medium of the client for identifying the control server corresponding to the control, so that the control server identifies and determines the first client from which the first page link information in the target client comes by combining the information in the sharing event under the condition that the target client does not report the client identifier of the first client.
The sharing relationship between the clients aiming at the page is recorded in the sharing path of the page. Therefore, in order to update the client identifier of the first client and the sharing depth corresponding to the first client to the sharing path of the page, the control server needs to further determine the client identifier of the upper-level client (assumed to be the second client) corresponding to the first client.
In order to obtain the client identifier of the second client, the control server obtains a viewing event reported by the adjacent integrated control in the first client and the reported viewing event, wherein the viewing event reported by the integrated control in the first client comprises the encryption information of the second client and the sharing depth corresponding to the second client, and therefore the second client is the client corresponding to the encryption information in the viewing event reported by the integrated control in the first client.
On the basis, the control server matches the encrypted information in the viewing event reported by the integrated control in the first client with the encrypted information in the sharing event, so that the sharing event reported by the integrated control in the second client can be matched, and the matched sharing event comprises the client identifier of the second client.
Through the two processes, the client identification of the second client can be obtained. It can be understood that, since the sharing performed by the second client for the page is prior to the sharing performed by the first client, when the client identifier of the first client needs to be updated into the sharing path of the page, the client identifier of the second client is already added into the sharing path of the page.
Therefore, after the client identifier of the second client and the sharing depth corresponding to the second client are obtained, a node (referred to as a reference node for convenience of description) where the client identifier of the second client and the sharing depth corresponding to the second client are located is searched in the sharing path of the page, and then the client identifier of the first client and the sharing depth corresponding to the first client are stored in the sharing path in an associated manner to a next node of the reference node. Therefore, the client identification of the first client and the sharing depth corresponding to the first client are updated to the sharing path of the page.
It is worth mentioning that in the page sharing process, there may be a situation that the client performs secondary forwarding on the page. For example, after the client a shares a page with the client B, the client B may share the page with the client C through a series of sharing processes, the client C may share the page with the client a, the client a may share the page again, share the page with the client E, and the client E shares the page with the client F. Obviously, in the sharing process of the page, the client a performs secondary sharing, and correspondingly, in the sharing path of the page, the client a inevitably appears the client identifier of the client a twice.
Therefore, in order to facilitate the distinction, in the process of updating the sharing path, the client identifier of the client and the sharing depth association corresponding to the client are added to the node of the sharing path. Therefore, for nodes in the sharing path, the nodes need to be positioned according to the client identifier and the sharing depth at the same time, so that the accurate updating of the page sharing path is ensured when the client forwards the page for the second time.
According to the scheme, in the process of sharing the page to the target client by the first client, in the first client, the encryption information of the first client and the sharing depth corresponding to the first client are added to the page link information corresponding to the page, and the client identifier of the first client is not directly exposed in the page sharing process, so that the client identifier corresponding to the first client serving as a sharing party in the page sharing process can be effectively prevented from being stolen.
When the sharing operation is triggered on the page displayed in the first client by means of the control integrated in the first client, reporting a sharing event to the control server so as to report the client identifier, the encrypted information and the page identifier of the page to be shared of the first client as a sharing party to the control server; after the target client receives the first page link information shared by the first client, the control integrated in the target client reports a viewing event to the control server according to a click operation triggered by the first page link information displayed in the target client, so that the encryption information of the first client carried by the first page link information and the sharing depth of the first client carried by the first page link information are reported to the control server; furthermore, the control server adds the client identifier of the first client and the sharing depth of the first client to the sharing path of the page according to the encrypted information in the sharing event reported by the control integrated in the first client and the viewing event reported by the control integrated in the target client, so that the sharing path of the page is obtained on the premise that the client identifier of the first client is not exposed in the sharing link, and the problem of potential safety hazard caused by directly exposing the client identifier serving as a sharing party in the sharing link in the prior art is effectively solved.
In some embodiments of the present application, after step 220, the method further comprises:
and if the clicking operation is detected, displaying the page in the target client.
In some embodiments of the present application, after displaying the page in the target client, the method further comprises: detecting a sharing operation triggered on a page displayed in a target client; and if the sharing operation triggered to the page displayed in the target client is detected, reporting a sharing event to a control server by a control integrated in the target client, wherein the sharing event reported by the control in the target client comprises the encrypted information of the target client, the client identification of the target client and the page identification of the page.
And the target client reports the sharing event according to the same process in the first client, and in the subsequent process, the clients performing page sharing respectively report the viewing event and the sharing event according to the same mode as that in the target client. On this basis, the control server updates the client identifier and the corresponding sharing depth corresponding to each client that completes the sharing conversion to the sharing path of the page according to the process of the step 210 and the step 230, thereby realizing the recording of the sharing path of the page.
In some embodiments of the present application, before the control integrated in the target client reports the sharing event to the control server, the method further includes: acquiring a first identifier generated by a control for a target client and acquiring a page identifier of a page; and carrying out combined encryption on the first identifier and the page identifier of the target client to obtain the encryption information of the target client.
As described above, a control integrated in a target client may generate a first identifier for the target client through a UUID algorithm, and the first identifier may be used to identify the target client.
The first identification of the target client and the page identification of the page to be shared are combined and encrypted to obtain the encrypted information of the target client, so that the encrypted information is not only related to the first identification of the client, but also related to the page identification of the page to be shared, the encrypted information is different in correspondence when the same client shares different pages, and the control server updates the sharing path by taking the page as a unit.
In some embodiments of the present application, after the step of detecting a sharing operation triggered on a page displayed in the target client, the method further includes:
and if the sharing operation triggered to the page displayed in the target client is detected, sharing second page link information corresponding to the page, wherein the second page link information carries encryption information of the target client and the sharing depth corresponding to the target client, and the sharing depth corresponding to the target client is obtained by adding the sharing depth corresponding to the first client to the set number.
It is understood that the second page link information and the first page link information are linked to the same web page, and the difference between the two is that: the second page link information carries the encryption information of the target client and the sharing depth corresponding to the target client, and the first page link information carries the encryption information of the first client and the sharing depth corresponding to the first client.
The sharing depth corresponding to the first client can be extracted from the first page link information received by the target client.
The number of settings may be set according to actual needs, for example, 1, 2, etc. It is understood that the set number is the same for the same page sharing.
In some embodiments of the present application, the step of sharing the second page link information corresponding to the page includes: detecting a channel selection operation triggered in a target client; and sharing the second page link information through the sharing channel selected by the channel selection operation.
In some embodiments of the present application, two or more sharing channels for page sharing may be provided in the target client, so that when a user needs to share a page, the user needs to select a sharing channel, and the operation of selecting the sharing channel is a channel selection operation.
Fig. 3 is a schematic diagram of an interface for selecting a sharing channel according to an embodiment. As shown in fig. 3, two sharing channels, that is, "send to friend" and "share to circle of friends", are provided in the target client, and the user may touch or click the "send to friend" option or "share to circle of friends" option in the interface to select the sharing channel for sharing the link information of the second page.
In the interface diagram shown in fig. 3, the sharing channel corresponding to the "send to friend" option is a friend channel. The sharing channel corresponding to the option of sharing to the friend circle is a content aggregation page.
The process of sharing the link information of the second page according to the friend channel comprises the following steps: if the sharing channel selected by the channel selection operation is a friend channel, acquiring an object identifier corresponding to a receiving object selected by the friend selection operation according to the triggered friend selection operation, wherein the receiving object comprises at least one of a friend establishing a friend relationship with a target client and a group added by the target client; and sharing the second page link information with the instant messaging window of the receiving object through the target client according to the object identifier.
And after the user selects to share the second page link information according to the friend channel, the target client acquires the friend information of the target client and the added group information, and displays a friend list and a group list so that the user can select friends and/or groups, and the user selects the friends and/or the groups as a receiving object. And according to the object identification of the receiving object, determining an instant messaging window between the target client and the receiving object, and sharing the second page link information through the instant messaging window. Of course, fig. 3 is only an exemplary example, and in other embodiments, other sharing channels may be provided in the target client for the user to select.
Fig. 4 shows a schematic interface diagram of sharing an applet page through a friend channel. As shown in fig. 4, after the user clicks the sharing control in the displayed applet page, an interface for selecting a sharing channel is displayed in the client. And after the user selects the option of 'sending to friends', displaying a friend list and a group list according to the friend information in the target client and the group information of the added group, so that the user can select friends and/or groups. After the selection is completed, a dialog box for confirming the sending is displayed, and if the user selects to confirm the sending, page link information corresponding to the applet page can be displayed in instant messaging windows (also called chat windows) of the target client and the selected receiving object (friend and/or group).
In some embodiments of the present application, the process of sharing first page link information through a content syndication page includes: and if the sharing channel selected by the channel selection operation is a content aggregation page, sharing the second page link information into the content aggregation page of the client where the receiving object is located, wherein the receiving object comprises a target client and a friend establishing a friend relationship with the target client.
Fig. 5 shows a schematic interface diagram of sharing an applet page to a friend circle, and as shown in fig. 5, after a user selects a "share to friend circle" option in an interface selected by a sharing channel, an editing page of the friend circle is displayed, in the editing page, the user can edit characters, and after the editing is completed, click "release" to share the second page link information to the friend circle. The page where the friend circle is located in the client is a content aggregation page, and dynamic information of the client and friends of the client is aggregated in the content aggregation page. It can be understood that, after the user clicks "send", the second page link information is correspondingly presented in the friend circle of the friend of the client where the user is located.
It is worth mentioning that the page link information shared by different sharing channels may have different presentation forms in the corresponding sharing channels.
In some embodiments of the application, after a channel selection operation triggered in a target client, a display template configured for a selected sharing channel is obtained, then corresponding content is extracted from page content (such as a title and a picture) of a page to be shared and second page link information to the display template corresponding to the selected sharing channel, and then the display template after content addition is displayed in the corresponding sharing channel, so that the display mode of the page link information is flexibly adjusted according to different sharing channels.
Fig. 6 is a flowchart illustrating an information processing method in page sharing according to another embodiment of the present application, where the information processing method in page sharing may be performed by a device having a computing processing function, such as the control server illustrated in fig. 1. Referring to fig. 6, the information processing method in page sharing at least includes steps 610 to 630, which are described in detail below.
In some embodiments of the present application, after step 610, the method further comprises:
and associating the encrypted information of the first client, the client identification of the first client and the page identification of the page included in the sharing event to obtain associated information, and storing the associated information into an associated information set.
In this embodiment, after receiving the sharing event reported by the control, the control server performs associated storage on the encrypted information, the client identifier, and the page identifier in the sharing event, so as to construct and store a mapping relationship among the encrypted information, the client identifier, and the page identifier.
In this embodiment, as shown in fig. 7, step 630 includes:
and 710, searching information in the associated information set according to the encrypted information in the viewing event reported by the control in the target client, and determining target associated information, wherein the target associated information comprises the encrypted information in the viewing event reported by the control in the target client.
In the process of searching information, the related information with the same encryption information as the encryption information in the viewing event reported by the control is searched in the related information set, and the searched target related information is the related information constructed by the sharing event reported by the control in the first client.
And step 720, taking the client identifier in the target association information as the client identifier of the first client.
Therefore, encryption information matching is carried out in the associated information set according to the encryption information in the viewing event reported by the control so as to obtain target associated information of which the encryption information is the same as the encryption information in the viewing event reported by the control, the client identification in the target associated information is the client identification of the client corresponding to the encryption information in the viewing event, and the client identification of the client corresponding to the encryption information is determined by carrying out encryption information matching. On the basis, the found client identification of the first client and the sharing depth corresponding to the first client are correspondingly updated to the sharing path of the page.
In some embodiments of the present application, as shown in fig. 8, step 730, comprises:
As described above, the sharing relationship between the clients for the page is recorded in the sharing path of the page. Therefore, in order to update the client identifier of the first client and the sharing depth corresponding to the first client to the sharing path of the page, the control server needs to further determine the client identifier of the upper-level client (assumed to be the second client) corresponding to the first client.
In order to obtain the client identifier of the second client, the control server obtains a viewing event reported by the adjacent integrated control in the first client and the reported viewing event, wherein the viewing event reported by the integrated control in the first client comprises the encryption information of the second client and the sharing depth corresponding to the second client, and therefore the second client is the client corresponding to the encryption information in the viewing event reported by the integrated control in the first client.
On the basis, the control server matches the encrypted information in the viewing event reported by the integrated control in the first client with the encrypted information in the sharing event, so that the sharing event reported by the integrated control in the second client can be matched, and the matched sharing event comprises the client identifier of the second client.
Through the two processes, the client identifier of the second client and the sharing depth of the second client can be obtained.
And step 820, according to the client identifier of the second client and the sharing depth corresponding to the second client, searching for a reference node in the sharing path of the page, and using a node in which the client identifier of the second client and the sharing depth corresponding to the second client are stored in an associated manner as the reference node.
It can be understood that, since the sharing performed by the second client for the page is prior to the sharing performed by the first client, when the client identifier of the first client needs to be updated into the sharing path of the page, the client identifier of the second client is already added into the sharing path of the page.
Therefore, after the client identifier of the second client and the sharing depth corresponding to the second client are obtained, a node where the client identifier of the second client and the sharing depth corresponding to the second client are located, that is, a reference node, is searched for in the sharing path of the page, and then the client identifier of the first client and the sharing depth corresponding to the first client are stored in the sharing path in an associated manner to a next node of the reference node. Therefore, the client identification of the first client and the sharing depth corresponding to the first client are updated to the sharing path of the page.
Fig. 9 is a schematic diagram illustrating interaction between each client and a control server in page sharing according to an embodiment. As shown in fig. 9, the page sharing process is: the client A shares the page to the client B, the client B shares the page to the client C, and the client C shares the page to the client D, and the sharing is sequentially performed backwards. Correspondingly, in this embodiment, the control server is also referred to as an SDK server, and provides services for the SDKs integrated in the clients.
In the page sharing process, each client extracts the encryption information of the carried upper-level client and the sharing depth of the carried upper-level client from the page link information shared to the client through the SDK integrated with the client, and reports the extracted encryption information of the upper-level client and the sharing depth of the carried upper-level client to the SDK server through the viewing event. In this embodiment, the encryption information of the client is an MID obtained by encrypting the first identifier of the client and the page identifier of the page by an MID algorithm. Thus, the client B reports the sharing depth (depth) of the client a and the MID of the client a; the client C reports the sharing depth of the client B and the MID of the client B; and the client D reports the sharing depth of the client C and the MID of the client C, and stores the MID and the sharing depth in the reported viewing event in a database of the SDK server.
Meanwhile, when each client triggers a sharing operation on the page, the integrated control reports a sharing event to the SDK server, wherein the reported sharing event comprises a client identifier of the client, encrypted information (MID) corresponding to the client and a page identifier of the page. After the sharing events are reported to the SDK server, the SDK server stores the client identifier, the encrypted information (MID) and the page identifier in each sharing event in an associated manner. For convenience of description, the client identifier, the encrypted information (MID) and the page identifier which are stored in association are referred to as association information, so that after the SDK server receives the reported viewing event, the SDK server performs encryption information matching to match the association information of which the encryption information is the same as the encryption information in the viewing event, and thus, the client identifier of the client corresponding to the encryption information in the viewing event is determined to be the client identifier matched in the association information. Therefore, the client identifications of the clients indicated by the encryption information in the sharing events reported by the clients are identified and determined according to the sharing events reported by the clients in the SDK server, and the sharing depth of the clients is correspondingly determined.
Fig. 10 is a timing diagram of the page sharing process shown in fig. 9. As shown in fig. 10, in the process of sequentially sharing pages, on one hand, the client a, the client B, the client C, and the client D report sharing events through their own integrated SDKs, so as to report the client id, MID, and page id of the page to be shared of each client to the SDK server through the sharing events. After receiving the sharing events, the SDK server stores the client identifier, the MID and the page identifier in each sharing event in a data storage layer of the SDK server in an associated manner, namely, the mapping relation of the client identifier, the MID and the page identifier is stored in the data storage layer.
On the other hand, the MID of the client and the sharing depth corresponding to the client are added to the page link information of the page to be shared through the SDK, so that the page link information carrying the MID of the client and the sharing depth corresponding to the client is shared to the next client; and the client receiving the page link information reports the viewing event by the integrated SDK so as to report the MID of the upper-level client carried in the page link information and the sharing depth of the upper-level client carried in the page link information to the SDK server through the viewing event. And the SDK server side stores the MID and the sharing depth in the reported checking event in the data storage layer. The user behavior reported in fig. 10 includes at least one of sharing an event and viewing an event.
Based on the sharing event and the viewing event stored in the data storage layer, the client identification of each client and the sharing depth corresponding to the client can be reversely determined through the MID in the viewing event, so that the sharing path of the page is determined.
Certainly, in some embodiments, the data application layer may also perform user behavior analysis by using the reported sharing event and viewing event, for example, count the number of times that pages are shared, the number of times that pages are shared in each sharing channel, and the like, so as to implement application of user behavior data.
Embodiments of the apparatus of the present application are described below, which may be used to perform the methods of the above-described embodiments of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the above-described embodiments of the method of the present application.
Fig. 11 is a block diagram illustrating an information processing apparatus in page sharing according to an embodiment, where the information processing apparatus in page sharing may be configured in the terminal device shown in fig. 1, and as shown in fig. 11, the information processing apparatus in page sharing includes:
the display module 1110 is configured to display first page link information from a first client, where the first client sends the first page link information to a target client according to a sharing operation triggered on a displayed page, a control integrated in the first client reports a sharing event to a control server after detecting the sharing operation, and the sharing event includes encryption information of the first client, a client identifier of the first client, and a page identifier of the page;
a first detecting module 1120, configured to detect a click operation triggered on the first page link information;
the first reporting module 1130 is configured to, if the click operation is detected, report a viewing event to the control server by a control integrated in the target client, where the viewing event includes encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client; and the control server side updates the client identification of the first client and the sharing depth corresponding to the first client into the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
In some embodiments of the present application, the apparatus further comprises: and the page display module is used for displaying a page in the target client if the click operation is detected.
In some embodiments of the present application, the apparatus further comprises: the second detection module is used for detecting sharing operation triggered on a page displayed in the target client; and the sharing event reporting module is used for reporting a sharing event to the control server by a control integrated in the target client if the sharing operation triggered to the page displayed in the target client is detected, wherein the sharing event reported by the control in the target client comprises the encrypted information of the target client, the client identification of the target client and the page identification of the page.
In some embodiments of the present application, the apparatus further comprises: the acquisition module is used for acquiring a first identifier generated by the control for the target client and acquiring a page identifier of a page; and the combined encryption module is used for carrying out combined encryption on the first identifier and the page identifier of the target client to obtain the encryption information of the target client.
In some embodiments of the present application, the apparatus further comprises: the sharing module is used for sharing second page link information corresponding to the page if sharing operation triggered on the page displayed in the target client is detected, the second page link information carries encryption information of the target client and the sharing depth corresponding to the target client, and the sharing depth corresponding to the target client is obtained by adding the sharing depth corresponding to the first client to the set number.
In some embodiments of the present application, the sharing module includes: a channel selection operation detection unit for detecting a channel selection operation triggered in a target client; and the sharing unit is used for sharing the second page link information through the sharing channel selected by the channel selection operation.
In some embodiments of the present application, the sharing unit includes: the object identification obtaining unit is used for obtaining an object identification corresponding to a receiving object selected by the friend selection operation according to the triggered friend selection operation if the sharing channel selected by the channel selection operation is a friend channel, wherein the receiving object comprises at least one of a friend establishing a friend relationship with the target client and a group added by the target client; and the first sharing unit is used for sharing the second page link information with the instant messaging window of the receiving object through the target client according to the object identifier.
In other embodiments of the present application, the sharing unit is further configured to: and if the sharing channel selected by the channel selection operation is a content aggregation page, sharing the second page link information into the content aggregation page of the client where the receiving object is located, wherein the receiving object comprises a target client and a friend establishing a friend relationship with the target client.
Fig. 12 is a block diagram illustrating an information processing apparatus in page sharing according to another embodiment, where the information processing apparatus in page sharing may be configured in the widget server shown in fig. 1, and as shown in fig. 12, the information processing apparatus in page sharing includes:
a first receiving module 1210, configured to receive a sharing event reported by a control integrated by a first client; according to a sharing operation triggered on a page displayed in a first client, reporting a sharing event to a control server by an integrated control in the first client, wherein the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page, and the first client shares first page link information of the page to a target client according to the sharing operation;
the second receiving module 1220 is configured to receive a viewing event reported by a control integrated in the target client, where the viewing event is reported by the control integrated in the target client according to a click operation triggered by first page link information displayed in the target client, and the viewing event includes encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client;
the updating module 1230 is configured to update the client identifier of the first client and the sharing depth corresponding to the first client into the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
In some embodiments of the present application, the apparatus further comprises: and the association module is used for associating the encrypted information of the first client, the client identifier of the first client and the page identifier of the page included in the sharing event to obtain associated information, and storing the associated information into the associated information set.
In this embodiment, the update module 1230 includes: the correlation unit is used for searching information in the correlation information set according to the encrypted information in the viewing event reported by the control in the target client, and determining target correlation information, wherein the target correlation information comprises the encrypted information in the viewing event reported by the control in the target client; the determining unit is used for taking the client identifier in the target associated information as the client identifier of the first client; and the updating unit is used for updating the client identifier of the first client and the sharing depth corresponding to the first client into the sharing path of the page.
In some embodiments of the present application, the update unit includes: the second determining unit is used for determining a client identifier of the second client and a sharing depth corresponding to the second client according to a sharing event and a reported viewing event reported by a page of a control integrated by the second client and a viewing event reported by a page of a control integrated in the first client, the second client shares third page link information corresponding to the page to the first client according to a sharing operation triggered on the displayed page, and the page displayed by the first client is entered according to a click operation triggered on the received third page link information; the node searching unit is used for searching a reference node in a sharing path of the page according to the client identifier of the second client and the sharing depth corresponding to the second client, and taking a node which stores the client identifier of the second client and the sharing depth corresponding to the second client in an associated manner as the reference node; and the storage unit is used for storing the client identifier of the first client and the sharing depth corresponding to the first client to a next node of the reference node in the sharing path of the page in an associated manner.
FIG. 13 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 1300 of the electronic device shown in fig. 13 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 13, a computer system 1300 includes a Central Processing Unit (CPU)1301 that can perform various appropriate actions and processes, such as performing the methods in the above-described embodiments, according to a program stored in a Read-Only Memory (ROM) 1302 or a program loaded from a storage portion 1308 into a Random Access Memory (RAM) 1303. In the RAM 1303, various programs and data necessary for system operation are also stored. The CPU 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304. An Input/Output (I/O) interface 1305 is also connected to bus 1304.
The following components are connected to the I/O interface 1305: an input portion 1306 including a keyboard, a mouse, and the like; an output section 1307 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage portion 1308 including a hard disk and the like; and a communication section 1309 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1309 performs communication processing via a network such as the internet. A drive 1310 is also connected to the I/O interface 1305 as needed. A removable medium 1311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1310 as necessary, so that a computer program read out therefrom is mounted into the storage portion 1308 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications component 1309 and/or installed from removable media 1311. The computer program executes various functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 1301.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable storage medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer-readable storage medium carries computer-readable storage instructions that, when executed by a processor, implement the method in the embodiments described above.
According to an aspect of the present application, there is also provided an electronic device, including: a processor; a memory having computer readable instructions stored thereon which, when executed by the processor, implement the method of the above embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (15)
1. An information processing method in page sharing is characterized by comprising the following steps:
displaying first page link information from a first client, wherein the first client sends the first page link information to a target client according to a sharing operation triggered to a displayed page, a control integrated in the first client reports a sharing event to a control server after detecting the sharing operation, and the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page;
detecting a click operation triggered by the first page link information;
if the click operation is detected, a control integrated in a target client reports a viewing event to a control server, wherein the viewing event comprises encrypted information of a first client carried by the first page link information and a sharing depth corresponding to the first client; and the control server side updates the client identification of the first client and the sharing depth corresponding to the first client to the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
2. The method according to claim 1, wherein after detecting the click operation triggered on the first page link information, the method further comprises:
and if the clicking operation is detected, displaying the page in the target client.
3. The method of claim 2, wherein after the page is displayed in the target client, the method further comprises:
detecting a sharing operation triggered on the page displayed in the target client;
and if the sharing operation triggered by the page displayed in the target client is detected, reporting a sharing event to a control server by a control integrated in the target client, wherein the sharing event reported by the control in the target client comprises the encrypted information of the target client, the client identification of the target client and the page identification of the page.
4. The method of claim 3, wherein before the reporting of the sharing event to the control server by the control integrated in the target client, the method further comprises:
acquiring a first identifier generated by the control for the target client and acquiring a page identifier of the page;
and combining and encrypting the first identifier of the target client and the page identifier to obtain the encryption information of the target client.
5. The method of claim 3, wherein after detecting the sharing operation triggered on the page displayed in the target client, the method further comprises:
and if the sharing operation triggered on the page displayed in the target client is detected, sharing second page link information corresponding to the page, wherein the second page link information carries encryption information of the target client and the sharing depth corresponding to the target client, and the sharing depth corresponding to the target client is obtained by adding the sharing depth corresponding to the first client to the set number.
6. The method according to claim 5, wherein the sharing of the second page link information corresponding to the page includes:
detecting a channel selection operation triggered in the target client;
and sharing the second page link information through the sharing channel selected by the channel selection operation.
7. The method according to claim 6, wherein the sharing channel selected by the channel selection operation shares the second page link information, including:
if the sharing channel selected by the channel selection operation is a friend channel, acquiring an object identifier corresponding to a receiving object selected by the friend selection operation according to the triggered friend selection operation, wherein the receiving object comprises at least one of a friend establishing a friend relationship with the target client and a group added by the target client;
and sharing the second page link information with the instant messaging window of the receiving object through the target client according to the object identifier.
8. The method according to claim 6, wherein the sharing channel selected by the channel selection operation shares the second page link information, including:
and if the sharing channel selected by the channel selection operation is a content aggregation page, sharing the second page link information to the content aggregation page of the client where the receiving object is located, wherein the receiving object comprises the target client and a friend establishing a friend relationship with the target client.
9. An information processing method in page sharing is characterized by comprising the following steps:
receiving a sharing event reported by a control integrated by a first client; according to a sharing operation triggered on a page displayed in the first client, reporting the sharing event to a control server by the integrated control in the first client, wherein the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page, and the first client shares first page link information of the page to a target client according to the sharing operation;
receiving a viewing event reported by the integrated control in the target client; according to a click operation triggered by first page link information displayed in the target client, reporting the viewing event by the integrated control of the target client, wherein the viewing event comprises encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client;
and updating the client identifier of the first client and the sharing depth corresponding to the first client to the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
10. The method of claim 9, wherein after receiving the sharing event reported by the control integrated by the first client, the method further comprises:
associating the encrypted information of the first client, the client identification of the first client and the page identification of the page included in the sharing event to obtain associated information, and storing the associated information into an associated information set;
the updating, according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client, the client identifier of the first client and the sharing depth corresponding to the first client to the sharing path of the page includes:
searching information in the associated information set according to encrypted information in the viewing event reported by the control in the target client, and determining target associated information, wherein the target associated information comprises the encrypted information in the viewing event reported by the control in the target client;
taking the client identifier in the target associated information as the client identifier of the first client;
and updating the client identification of the first client and the sharing depth corresponding to the first client to the sharing path of the page.
11. The method of claim 10, wherein the updating the client identifier of the first client and the sharing depth corresponding to the first client into the sharing path of the page comprises:
determining a client identifier of a second client and a sharing depth corresponding to the second client according to a sharing event and a reported viewing event reported by a page of a control integrated by the second client and a viewing event reported by a page of a control integrated by the first client, wherein the second client shares third page link information corresponding to the page to the first client according to a sharing operation triggered on the displayed page, and the page displayed by the first client is entered according to a click operation triggered on the received third page link information;
according to the client identifier of the second client and the sharing depth corresponding to the second client, searching for a reference node in a sharing path of the page, and taking a node which stores the client identifier of the second client and the sharing depth corresponding to the second client in an associated manner as a reference node;
and storing the client identifier of the first client and the sharing depth corresponding to the first client to a node next to the reference node in the sharing path of the page in an associated manner.
12. An information processing apparatus in page sharing, comprising:
the display module is used for displaying first page link information from a first client, the first client sends the first page link information to a target client according to a sharing operation triggered on a displayed page, a control integrated in the first client reports a sharing event to a control server after detecting the sharing operation, and the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page;
the first detection module is used for detecting click operation triggered by the first page link information;
the first reporting module is used for reporting a viewing event to a control server by a control integrated in a target client if the click operation is detected, wherein the viewing event comprises encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client; and the control server side updates the client identification of the first client and the sharing depth corresponding to the first client to the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
13. An information processing apparatus in page sharing, comprising:
the first receiving module is used for receiving the sharing event reported by the control integrated by the first client; according to a sharing operation triggered on a page displayed in the first client, reporting the sharing event to a control server by the integrated control in the first client, wherein the sharing event comprises encrypted information of the first client, a client identifier of the first client and a page identifier of the page, and the first client shares first page link information of the page to a target client according to the sharing operation;
the second receiving module is used for receiving the viewing event reported by the integrated control in the target client; according to a click operation triggered by first page link information displayed in the target client, reporting the viewing event by the integrated control of the target client, wherein the viewing event comprises encrypted information of the first client carried by the first page link information and a sharing depth corresponding to the first client;
and the updating module is used for updating the client identifier of the first client and the sharing depth corresponding to the first client to the sharing path of the page according to the sharing event reported by the control in the first client and the viewing event reported by the control in the target client.
14. An electronic device, comprising:
a processor;
a memory having stored thereon computer readable instructions which, when executed by the processor, implement the method of any of claims 1 to 11.
15. A computer readable storage medium having computer readable instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010964028.2A CN112100534A (en) | 2020-09-14 | 2020-09-14 | Information processing method, device, medium and electronic equipment in page sharing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010964028.2A CN112100534A (en) | 2020-09-14 | 2020-09-14 | Information processing method, device, medium and electronic equipment in page sharing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112100534A true CN112100534A (en) | 2020-12-18 |
Family
ID=73750999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010964028.2A Pending CN112100534A (en) | 2020-09-14 | 2020-09-14 | Information processing method, device, medium and electronic equipment in page sharing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112100534A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112953814A (en) * | 2021-02-09 | 2021-06-11 | 北京字节跳动网络技术有限公司 | Multimedia information processing method, device, electronic equipment and storage medium |
-
2020
- 2020-09-14 CN CN202010964028.2A patent/CN112100534A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112953814A (en) * | 2021-02-09 | 2021-06-11 | 北京字节跳动网络技术有限公司 | Multimedia information processing method, device, electronic equipment and storage medium |
CN112953814B (en) * | 2021-02-09 | 2023-03-24 | 北京字节跳动网络技术有限公司 | Multimedia information processing method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110688598B (en) | Service parameter acquisition method and device, computer equipment and storage medium | |
CN113987074A (en) | Distributed service full-link monitoring method and device, electronic equipment and storage medium | |
US20140201292A1 (en) | Digital business card system performing social networking commonality comparisions, professional profile curation and personal brand management | |
CN111431793B (en) | Session management method, device, computer equipment and storage medium | |
CN111178410A (en) | Illegal picture identification method and device | |
Ovens et al. | Forensic analysis of kik messenger on ios devices | |
CN110771126A (en) | Matching and attribution of user equipment events | |
CN110659206A (en) | Simulation architecture establishing method, device, medium and electronic equipment based on microservice | |
US9154539B2 (en) | Consolidating event data from different sources | |
US11144939B2 (en) | Cross-device consumer identification and device type determination | |
TW201516938A (en) | User information classification method and apparatus, and user group information acquisition method and apparatus | |
CN112069425A (en) | Log management method and device, electronic equipment and readable storage medium | |
CN109213782B (en) | Search interface configuration and display method and device and communication equipment | |
WO2022057525A1 (en) | Method and device for data retrieval, electronic device, and storage medium | |
CN113626863A (en) | Data processing method and device | |
CN112100534A (en) | Information processing method, device, medium and electronic equipment in page sharing | |
CN117235400A (en) | Unified multi-platform portal system based on Kafka technology | |
CN111488386A (en) | Data query method and device | |
US11777889B2 (en) | Information processing method and device and electronic equipment | |
CN109040331B (en) | Electronic business card processing method and device, computing equipment and storage medium | |
EP3306489B1 (en) | Interaction record query processing method and device | |
WO2017129068A1 (en) | Event execution method and device and system therefor | |
CN111078569B (en) | Method and device for testing optical character recognition application and storage medium | |
CN114237798A (en) | Data processing method, device, server and storage medium | |
CN115022266A (en) | Group member adding method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |