CN108289056B - Method and device for sharing dynamic chart and computing equipment - Google Patents

Method and device for sharing dynamic chart and computing equipment Download PDF

Info

Publication number
CN108289056B
CN108289056B CN201810122424.3A CN201810122424A CN108289056B CN 108289056 B CN108289056 B CN 108289056B CN 201810122424 A CN201810122424 A CN 201810122424A CN 108289056 B CN108289056 B CN 108289056B
Authority
CN
China
Prior art keywords
chart
sharing
access information
sharing request
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810122424.3A
Other languages
Chinese (zh)
Other versions
CN108289056A (en
Inventor
冷戈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201810122424.3A priority Critical patent/CN108289056B/en
Publication of CN108289056A publication Critical patent/CN108289056A/en
Application granted granted Critical
Publication of CN108289056B publication Critical patent/CN108289056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity

Abstract

The disclosure relates to a method, a device and a computing device for sharing a dynamic chart, wherein the method comprises the following steps: responding to the sharing operation of a sending end user on the chart, and acquiring access information of the chart, wherein the access information comprises a data source interface of the chart; and sending a sharing request based on the sharing operation, wherein the sharing request carries the access information, so that a receiving end corresponding to the sharing request calls at least part of data sources of the chart to perform dynamic display according to the access information. The method for sharing the dynamic diagram can share the interactive diagram in a single application program page.

Description

Method and device for sharing dynamic chart and computing equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, and a computing device for sharing a dynamic chart.
Background
In recent years, Instant Messaging (IM) has become a key means for communication via network, and has been widely used in public life and leisure and entertainment, and also becomes an important tool for communication between the inside and outside of many enterprises. Enterprise-level Instant Messaging (EIM) needs to meet general requirements of large concurrency, high availability and the like in an Enterprise environment, and along with the continuous development of traffic, functions of analyzing and prejudging Enterprise services based on charts in the EIM, such as session records, customer service performance, website analysis and the like, are often needed to be provided, so that higher requirements are provided for a chart sharing scheme of the EIM. On the other hand, with the popularization and application of big data concepts, IM tools in public fields also have a need to share charts such as point of interest collection, consumption statistics, and the like.
The sharing of the chart in the web page in the related art generally includes the following two ways. A method for generating a link based on the page address of the page where the chart is located and sharing the link to the message flow of IM or other applications; another method is to share the presentation content of the chart by means of screenshot or conversion into other format files (e.g. pdf format). However, the sharing methods have certain disadvantages. In a sharing mode using a link as a carrier, a receiving end is required to trigger a new application window outside communication tools such as IM and the like to display the linked page content, and cannot share a chart only, and a user may receive some redundant page information when opening the link. In a sharing mode such as screenshot taking a file as a carrier, since a receiving end can only display a solidified picture or other format files, if the chart content contains more interactive or hierarchical information, the information content is lost due to the mode.
In summary, none of the related art approaches can achieve sharing of charts well. How to share dynamic charts comprehensively and timely is a problem which is always solved by the field.
Disclosure of Invention
The purpose of the present disclosure is to provide a method and an apparatus for sharing a dynamic chart, and a computing device, so as to solve the technical defect in the related art that only a dynamic chart cannot be shared within the same application page.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for sharing a dynamic chart, including: responding to the sharing operation of a sending end user on the chart, and acquiring access information of the chart, wherein the access information comprises a data source interface of the chart; and sending a sharing request based on the sharing operation, wherein the sharing request carries the access information, so that a receiving end corresponding to the sharing request calls at least part of data sources of the chart to perform dynamic display according to the access information.
According to a second aspect of the embodiments of the present disclosure, there is provided a method of sharing a dynamic chart, including:
obtaining access information of a chart based on a received sharing request, wherein the access information comprises a data source interface of the chart; and calling at least part of data sources of the chart to dynamically display according to the access information.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing a dynamic chart, including:
the information acquisition module is arranged for responding to the sharing operation of a sending end user on the chart, and acquiring the access information of the chart, wherein the access information comprises a data source interface of the chart; and the sharing request module is configured to send a sharing request based on the sharing operation, wherein the sharing request carries the access information, so that a receiving end corresponding to the sharing request calls at least part of data sources of the graph to perform dynamic display according to the access information.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing a dynamic chart, including:
the information acquisition module is arranged for acquiring access information of the chart based on the received sharing request, wherein the access information comprises a data source interface of the chart; and
and the data display module is used for calling at least part of data sources of the chart to perform dynamic display according to the access information.
According to a fifth aspect of embodiments of the present disclosure, there is provided a storage medium storing a computer program which, when executed by a processor of a computing device, causes the computing device to perform the method according to any of the above embodiments.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computing device comprising: a processor; a memory storing instructions executable by the processor; wherein the processor is configured to perform a method as described in any of the above embodiments.
According to the method for sharing the dynamic diagram, the identifier of the diagram and the data source interface are shared to the receiving end as the sharing information, the diagram is displayed in the receiving end through the embedded frame, the shared interactive diagram can be viewed in a single page, the viewing efficiency of the sharing information is improved, and the user experience is improved.
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 disclosure.
Drawings
Fig. 1 is a flowchart of a method for sharing a dynamic chart according to an embodiment of the disclosure.
Fig. 2 is a sub-flowchart of a method for sharing a dynamic chart according to an embodiment of the present disclosure.
Fig. 3 is a sub-flowchart of a method for sharing a dynamic graph according to an embodiment of the present disclosure.
Fig. 4 is a flowchart of another method for sharing dynamic charts according to an embodiment of the present disclosure.
Fig. 5A-5B are schematic diagrams illustrating dynamic charts in an embodiment of the disclosure.
FIG. 6 is a sub-flowchart of a method for sharing dynamic charts according to an embodiment of the present disclosure.
Fig. 7 is a schematic overall flow chart of sharing a dynamic chart according to an embodiment of the present disclosure.
Fig. 8 is a schematic overall flow chart of another embodiment of the present disclosure for sharing a dynamic graph.
FIG. 9 is a schematic diagram illustrating an interaction flow for sharing dynamic charts according to an embodiment of the present disclosure.
Fig. 10 is a schematic block diagram of an apparatus for sharing a dynamic chart according to an embodiment of the disclosure.
Fig. 11 is a schematic block diagram of an apparatus for sharing a dynamic chart according to another embodiment of the disclosure.
FIG. 12 is a schematic block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a method and a device for sharing a dynamic chart, a medium and a computing device are provided.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Fig. 1 is a flowchart illustrating a method for sharing a dynamic graph according to an embodiment of the disclosure, where the method includes the following steps S101-S102. In some embodiments of the present disclosure, the method of this embodiment may be performed by a sender device (e.g., a mobile terminal/a desktop terminal) for sharing information, or a client installed on the sender terminal device.
In step S101, in response to a sharing operation of a sending-end user on a chart, access information of the chart is obtained, where the access information includes a data source interface of the chart.
The method of the embodiment of the disclosure can be applied to the situation that the user only needs to share the chart on the webpage instead of the webpage.
The method for initiating the sharing operation by the sending-end user may be, for example, clicking a sharing button on a chart.
When a user sees a chart needing to be shared on a webpage, the sharing operation can be triggered in various ways. On a conventional terminal such as a desktop computer or a notebook computer, for example, by clicking a right button on a chart, a chart sharing option is selected from a pop-up menu. On a mobile terminal operated by a touch screen, such as a mobile phone or a tablet personal computer, a pop-up menu can be called by long pressing of a chart and the like, so that a chart sharing option is selected, or a chart sharing function is directly entered. The conditions for triggering the sharing operation can be set by a person skilled in the art according to actual conditions, and the disclosure is not limited thereto.
In one embodiment, the chart itself may have conditions that are shared separately. For example, when a web page provides a plurality of charts by setting up a plurality of dashboards, each chart can be represented as a separate data packet, and the charts can be considered to have a condition of being shared separately.
After the user performs the sharing operation, the access information of the chart can be acquired. Taking the chart set by the dashboard as an example, each chart in the dashboard can be represented as an independent data packet, the data packets can be independently sent as a split-packaged integral component, and each data packet includes the identification of the chart and the data source interface of the icon. The data packet of the chart can be obtained by accessing the information recorded in the dashboard. In some embodiments, the data packet only includes the identifier and the data source interface of the chart, and in other embodiments, the data packet may further include more information, such as the interaction information of the chart, and the like, which is not limited in this disclosure.
In step S102, a sharing request is sent based on the sharing operation, where the sharing request carries the access information, so that a receiving end corresponding to the sharing request calls at least part of data sources of the graph to perform dynamic display according to the access information.
After obtaining the chart access information, the sending end can directly send a sharing request and write the access information into the chart sharing request. It is to be understood that the sending user may be provided with a sharing destination option before sending the sharing request, and the sharing destination may include, for example, other users, a social network, or other common platform.
In some embodiments, the sharing request may be directly sent to the receiving end, and in other embodiments, before the sharing request reaches the receiving end, the access information may be checked to determine whether the graph corresponding to the access information meets the condition of being shared separately.
Fig. 2 is a flowchart illustrating a method for sharing a dynamic chart according to another embodiment of the present disclosure, where as shown in the figure, the method of the present embodiment includes the following steps S201 to S202:
in step S201, the access information carried by the sharing request is verified.
The purpose of the verification may include, for example, determining a file format of the diagram, a packet size of the diagram, whether an access limit of the diagram meets a preset condition, and the like, so as to smoothly implement individual sharing of the interactive diagram. In other embodiments, the verified object may further include integrity, validity, and the like of information such as sharer identity information, chart identity, data source interface, and the like, and a person skilled in the art may set the verification option by himself.
In step S202, when the access information satisfies a preset condition, the sharing request is sent to the receiving end.
When the access information of the chart meets the preset conditions, a sharing destination option can be provided for the user when the access information passes verification, and the sharing request is sent to a receiving end according to the sharing destination set by the user; when the access information of the chart does not meet the preset conditions, for example, the chart does not support independent sharing, the shared file is too large, the chart has access authority limitation, data is incomplete and illegal, and the sharing failure message can be returned to the sending end user.
Although steps S201 to S202 are taken as embodiments applied to sharing the sender, in other embodiments of the present disclosure, the verification behavior may be implemented by the server.
Fig. 3 is a flow chart of one embodiment of the present disclosure.
Referring to fig. 3, in some embodiments, both the sender and the receiver are IM clients, and step S202 may include:
in step S301, a shared user information list is received.
Step S302, sending the sharing request to the receiving end according to a triggering operation on the shared user information list, where the sharing request also carries sharing user information corresponding to the sending end user.
For example, when a sending end user clicks a chart sharing button and selects that a sharing destination is an IM client, the IM client responds to a sharing request, can verify access information of the chart, then provides a receiving end user list for the sending end user through the IM server for selection, and after confirming the receiving end user, sends the sharing request and the receiving end user identifier to the IM server. In some embodiments, the verification of the access information may also be performed by the IM server; in other embodiments, the verification of the access information may also be performed after the selection of the shared user. The verification time sequence and the implementation subject are not specially limited, and the processes of the embodiments only need to screen out the access information meeting the preset conditions.
When the IM server sends the sharing request to the IM client of the receiving end, the message may carry the sharing user information such as the nickname of the sending end user in the IM application program.
In some embodiments, the sending end user may also store the chart in its own IM client, so that the sending end user may be included when providing the list of receiving end users.
In other embodiments, the sending end may also be a built-in program of a webpage, and the receiving end is a terminal such as a social network, so that the user is allowed to share the chart to media such as a microblog and a friend circle.
Fig. 4 is a flowchart illustrating a method for sharing a dynamic chart according to an embodiment of the disclosure, where the method includes the following steps S401 to S402. Corresponding to the method applied to the sending end of shared information in fig. 1 to fig. 3, the method of this embodiment may be executed by a receiving end device of shared information (e.g., a mobile terminal/a desktop terminal), or a client installed on the receiving end terminal device.
In step S401, access information of the graph is obtained based on the received sharing request, where the access information includes a data source interface of the graph.
The access information of the graph may be, for example, a data packet of the graph sent by the sending end, where the data packet includes an identity of the graph and a data source interface.
In step S402, at least a part of data sources of the graph is called to perform dynamic display according to the access information.
In some embodiments of the present disclosure, step S402 includes, in response to the update of the data source, calling the updated data source through the data source interface to perform the presentation of the diagram.
For example, the receiving end can actively access the data source according to a preset period, judge whether the data source is updated, and actively update the displayed chart under the condition that the data source is updated, thereby ensuring the authenticity and consistency of the data.
In addition, the receiving end can respond to the update notification pushed by the data source, re-access the data source to acquire updated data and display an updated chart, so that the authenticity and consistency of the data are guaranteed while computing resources are saved.
The sharing receiving terminal can access the source of the shared chart according to the access information, so that the chart content is displayed in a sharing destination set by the user. If the sharing destination is the IM client, displaying at least part of data sources of the chart in an instant messaging message flow in a nested page mode; if the sharing destination is a social network platform, at least a portion of the data source of the graph may be exposed within the social network platform information stream by way of nested pages. When the chart is displayed, the information of the sharers can be displayed at the same time.
The above-mentioned "at least partial data source showing charts" may be applied to charts supporting partial sharing. In some embodiments, before the chart is displayed, the integrity of the chart data packet can be checked, and a check result prompt is performed.
Fig. 5A and 5B are schematic diagrams of data sources showing diagrams by way of nested pages within an IM message stream.
Referring to fig. 5A, the sending end and the receiving end are different IM clients, and the IM client of the receiving end accesses a data source entry (e.g., a server storing a web page where the graph is located) recorded in the graph data packet through the IM server to obtain related data of the graph, and displays the graph in the receiving end according to the data.
Referring to fig. 5B, the sender and the receiver are the same IM client (sub-share).
Fig. 6 is a sub-flowchart of an exemplary embodiment of the present disclosure. Referring to fig. 6, in one embodiment of the present disclosure, step S402 may include:
step S601, responding to the interactive operation of the receiving end user to the chart, and sending an interactive instruction to the chart according to the access information.
For dynamic charts, the method also supports interactive operation of the chart in some embodiments. The interactive operations may be determined by the functions supported by the diagram itself, such as screening, clipping, focusing, drill-down level browsing, data modification, and the like.
Interactive operations of the chart by the receiving end user can be sent to the data source of the chart.
Step S602, receiving update information for the chart sent based on the interactive instruction, and displaying at least a part of data sources of the updated chart.
In one embodiment, the chart component may allow external operations and thus may be updated in response to a message of a user interactive operation, and the receiving end may re-display the updated chart after receiving the updated information of the chart.
By applying the method provided by the embodiment, the complete interactive content in the original chart can be fully displayed, the content display can be realized in media such as IM message streams without switching windows, the communication fluency is ensured, the user experience is improved, and the communication efficiency is improved.
In some embodiments, the chart may be packaged directly as an embedded page, pointing to the corresponding chart data through the data source interface. The embedded page can be directly displayed, and interactive chart contents can be directly displayed in chat information, application programs and texts.
For IM clients, more diverse content and task streams can be embedded in the shared information, including but not limited to: multimedia tasks, JS components, H5 pages, script tasks, Flash, etc.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc. Additionally, it will also be readily appreciated that the steps may be performed synchronously or asynchronously, e.g., among multiple modules/processes/threads.
Fig. 7 is a schematic overall flow chart of sharing a dynamic chart according to an embodiment of the present disclosure.
Referring to fig. 7, the dynamic graph 702 takes data from the data source 701 and displays the data to the user 703, and the user performs a sharing operation on the dynamic graph 702. The user 703 may choose to share the dynamic chart 702 into media such as an IM client 704, a social network 705, or a knowledge base 706. In the first two cases, the dynamic display of the front end can be carried out in the page through a message stream or an iframe frame; in the latter case, the source data needed in the graph may be saved as a mirror image, and the data analysis history may be saved via an iframe frame and a mirrored data source in an application program such as a Wiki. The chart is finally presented to other users 707.
Fig. 8 is a schematic overall flow chart of another embodiment of the present disclosure for sharing a dynamic graph.
Referring to fig. 8, in step S801, a sending end receives a sharing operation performed by a user on a dynamic graph in a webpage. The transmitting end can have the functions of encapsulating the chart codes and correctly carrying information such as identification, data interfaces and the like.
In step S802, the transmitting end encapsulates the chart code and transmits it to the server.
In step S803, the server receives and determines the identification information of the sharee.
In step S804, the server checks the integrity and validity of the encapsulated graph code.
In step S805, the server sends the chart information that passes the verification to the sharee, and proceeds to step S806 or proceeds to step S806 when the chart information fails to be verified.
In step S806, the server notifies the sharer of the sharing result and prompts the subsequent operation.
In step S807, the receiving end receives the sharing information.
In step S808, the receiving end verifies the chart information, and proceeds to step S806 to notify the sharer of the last sharing result.
In step S809, the receiving end displays the verified chart information.
FIG. 9 is a schematic diagram illustrating an interaction flow for sharing dynamic charts according to an embodiment of the present disclosure.
Referring to fig. 9, in one embodiment, the sender encapsulates a packet of a dynamic chart of a chart data source as chart access information through a JS component and sends it to a server of a sharing destination. And the server calls the chart display information from the chart data source according to the chart access information and sends the chart display information to the receiving end. The receiving end displays the dynamic chart information, receives interactive operation of a user on the dynamic chart and sends the interactive operation to the server, and the server sends the interactive operation information to the chart data source, receives updated chart display information and displays the updated dynamic chart.
By the dynamic chart analysis method provided by the exemplary embodiment of the disclosure, a user can check the dynamic chart and realize interaction with the dynamic chart without entering a new page, so that the information communication efficiency is improved, and the user experience is improved.
Corresponding to the method embodiment, the disclosure also provides a device for sharing a dynamic chart, which can be used for executing the method embodiment.
Fig. 10 is a block diagram of an apparatus for sharing a dynamic chart provided in an embodiment of the present disclosure. The device can be applied to a diagram sharing information sending end.
Referring to fig. 10, the apparatus 1000 may include:
the information obtaining module 1001 is configured to obtain access information of a graph in response to a sharing operation of a sending-end user on the graph, where the access information includes a data source interface of the graph.
The sharing request module 1002 is configured to send a sharing request based on the sharing operation, where the sharing request carries the access information, so that a receiving end corresponding to the sharing request invokes at least part of data sources of the graph to perform dynamic display according to the access information.
The method for initiating the sharing operation by the sending-end user may be, for example, clicking a sharing button on a chart.
When a user sees a chart needing to be shared on a webpage, the sharing operation can be triggered in various ways. On a conventional terminal such as a desktop computer or a notebook computer, for example, by clicking a right button on a chart, a chart sharing option is selected from a pop-up menu. On a mobile terminal operated by a touch screen, such as a mobile phone or a tablet personal computer, a pop-up menu can be called by long pressing of a chart and the like, so that a chart sharing option is selected, or a chart sharing function is directly entered. The conditions for triggering the sharing operation can be set by a person skilled in the art according to actual conditions, and the disclosure is not limited thereto.
In one embodiment, the chart itself may have conditions that are shared separately. For example, when a web page provides a plurality of charts by setting up a plurality of dashboards, each chart can be represented as a separate data packet, and the charts can be considered to have a condition of being shared separately.
After the user performs the sharing operation, the access information of the chart can be acquired. Taking the chart set by the dashboard as an example, each chart in the dashboard can be represented as an independent data packet, the data packets can be independently sent as a split-packaged integral component, and each data packet includes the identification of the chart and the data source interface of the icon. The data packet of the chart can be obtained by accessing the information recorded in the dashboard. In some embodiments, the data packet only includes the identifier and the data source interface of the chart, and in other embodiments, the data packet may further include more information, such as the interaction information of the chart, and the like, which is not limited in this disclosure.
After obtaining the chart access information, the sending end can directly send a sharing request and write the access information into the chart sharing request. It is to be understood that the sending user may be provided with a sharing destination option before sending the sharing request, and the sharing destination may include, for example, other users, a social network, or other common platform.
In some embodiments, the sharing request may be directly sent to the receiving end, and in other embodiments, before the sharing request reaches the receiving end, the access information may be checked to determine whether the graph corresponding to the access information meets the condition of being shared separately.
In one embodiment, the sharing request module 1002 may include:
the verification unit 10021 is configured to verify the access information carried by the sharing request.
The condition determining unit 10022 is configured to send the sharing request to the receiving end when the access information meets a preset condition.
The purpose of the verification may include, for example, determining a file format of the diagram, a packet size of the diagram, whether an access limit of the diagram meets a preset condition, and the like, so as to smoothly implement individual sharing of the interactive diagram. In other embodiments, the verified object may further include integrity, validity, and the like of information such as sharer identity information, chart identity, data source interface, and the like, and a person skilled in the art may set the verification option by himself.
When the access information of the chart meets the preset conditions, a sharing destination option can be provided for the user when the access information passes verification, and the sharing request is sent to a receiving end according to the sharing destination set by the user; when the access information of the chart does not meet the preset conditions, for example, the chart does not support independent sharing, the shared file is too large, the chart has access authority limitation, data is incomplete and illegal, and the sharing failure message can be returned to the sending end user.
In one embodiment, the condition determining unit 10022 may further include:
the list display subunit 100221 is configured to receive the shared user information list.
The request sending subunit 100222 is configured to send the sharing request to the receiving end according to a trigger operation on the shared user information list, where the sharing request also carries sharing user information corresponding to the sending end user.
For example, when a sending end user clicks a chart sharing button and selects that a sharing destination is an IM client, the IM client responds to a sharing request, can verify access information of the chart, then provides a receiving end user list for the sending end user through the IM server for selection, and after confirming the receiving end user, sends the sharing request and the receiving end user identifier to the IM server. In some embodiments, the verification of the access information may also be performed by the IM server; in other embodiments, the verification of the access information may also be performed after the selection of the shared user. The verification time sequence and the implementation subject are not specially limited, and the processes of the embodiments only need to screen out the access information meeting the preset conditions. When the IM server sends the sharing request to the IM client of the receiving end, the message may carry the sharing user information such as the nickname of the sending end user in the IM application program.
In some embodiments, the sending end user may also store the chart in its own IM client, so that the sending end user may be included when providing the list of receiving end users. In other embodiments, the sending end may also be a built-in program of a webpage, and the receiving end is a terminal such as a social network, so that the user is allowed to share the chart to media such as a microblog and a friend circle.
Fig. 11 is a block diagram of another apparatus for sharing a dynamic chart according to an embodiment of the disclosure. The device can be applied to a chart sharing information receiving end.
Referring to fig. 11, an apparatus 1100 may include:
the information acquisition module 1101 is configured to acquire access information of a chart based on a received sharing request, where the access information includes a data source interface of the chart; and
the data display module 1102 is configured to call at least part of data sources of the graph to perform dynamic display according to the access information.
In some embodiments, the data presentation module 1102 may include:
and the dynamic updating unit 11021 is configured to respond to the update of the data source, and call the updated data source through the data source interface to display the graph.
For example, the receiving end can actively access the data source according to a preset period, judge whether the data source is updated, and actively update the displayed chart under the condition that the data source is updated, thereby ensuring the authenticity and consistency of the data.
In addition, the receiving end can respond to the update notification pushed by the data source, re-access the data source to acquire updated data and display an updated chart, so that the authenticity and consistency of the data are guaranteed while computing resources are saved.
The sharing receiving terminal can access the source of the shared chart according to the access information, so that the chart content is displayed in a sharing destination set by the user. If the sharing destination is the IM client, displaying at least part of data sources of the chart in an instant messaging message flow in a nested page mode; if the sharing destination is a social network platform, at least a portion of the data source of the graph may be exposed within the social network platform information stream by way of nested pages. When the chart is displayed, the information of the sharers can be displayed at the same time.
The above-mentioned "at least partial data source showing charts" may be applied to charts supporting partial sharing. In some embodiments, before the chart is displayed, the integrity of the chart data packet can be checked, and a check result prompt is performed.
In some embodiments, the data presentation module 1102 may further include:
an interaction unit 11022, configured to, in response to an interactive operation on the chart by a receiving end user, send an interaction instruction to the chart according to the access information, receive update information for the chart sent based on the interaction instruction, and display at least part of data sources of the updated chart.
For dynamic charts, the method also supports interactive operation of the chart in some embodiments. The interactive operations may be determined by the functions supported by the diagram itself, such as screening, clipping, focusing, drill-down level browsing, data modification, and the like.
Interactive operations of the chart by the receiving end user can be sent to the data source of the chart.
In one embodiment, the chart component may allow external operations and thus may be updated in response to a message of a user interactive operation, and the receiving end may re-display the updated chart after receiving the updated information of the chart.
By applying the device provided by the embodiment, the complete interactive content in the original chart can be fully displayed, and the content can be displayed without switching windows in media such as IM message streams, so that the communication fluency is ensured, the user experience is improved, and the communication efficiency is improved.
In some embodiments, the data presentation module 1102 may further include:
a diagram presentation unit 11023 configured to present at least a portion of the data sources of the diagram by means of nested pages within the stream of instant messaging messages.
In some embodiments, the chart may be packaged directly as an embedded page, pointing to the corresponding chart data through the data source interface. The embedded page can be directly displayed, and interactive chart contents can be directly displayed in chat information, application programs and texts. For IM clients, more diverse content and task streams can be embedded in the shared information, including but not limited to: multimedia tasks, JS components, H5 pages, script tasks, Flash, etc.
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 present disclosure. 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. The components shown as modules or units may or may not be physical units, i.e. may be located in one place or may also be distributed over a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the description of the above embodiments, those skilled in the art will readily understand that the above described exemplary embodiments may be implemented by software, or by software in combination with necessary hardware.
For example, in an example embodiment, there is also provided a computer readable storage medium, on which a computer program is stored, which when executed by a processor, may implement the steps of the method described in any of the embodiments. The detailed description of the steps of the method can refer to the detailed description in the foregoing embodiments, and the detailed description is omitted here. The computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In another example embodiment, a computing device is also provided, where the computing device may be a mobile terminal such as a mobile phone and a tablet computer, and may also be a terminal device such as a desktop computer and a server, which is not limited in this example embodiment. FIG. 12 shows a schematic diagram of a computing device 120 in an example embodiment according to the present disclosure. For example, computing device 120 may be provided as a mobile terminal. Referring to fig. 12, device 120 includes a processing component 121, which further includes one or more processors, and memory resources, represented by memory 122, for storing instructions, such as applications, that are executable by processing component 121. The application programs stored in memory 122 may include one or more modules that each correspond to a set of instructions. Further, the processing component 121 is configured to execute instructions to perform the method of sharing dynamic charts. The steps of the method can refer to the detailed description in the foregoing method embodiments, and are not repeated herein.
Computing device 120 may also include a power component 123 configured to perform power management of computing device 120, a wired or wireless network interface 124 configured to connect computing device 120 to a network, and an input output (I/O) interface 125. Computing device 120 may operate based on an operating system stored in memory 122, such as Android, IOS, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
While the present disclosure has been described with reference to several exemplary embodiments, it is understood that the terminology used is intended to be in the nature of words of description and illustration, rather than of limitation. As the present disclosure may be embodied in several forms without departing from the spirit or essential characteristics thereof, it should also be understood that the embodiments are not limited by any of the foregoing details, but rather should be construed broadly within its spirit and scope as defined in the appended claims, and therefore all changes and modifications that fall within the meets and bounds of the claims, or equivalences of such meets and bounds are therefore intended to be embraced by the claims.

Claims (10)

1. A method of sharing a dynamic graph, comprising:
responding to the sharing operation of a sending end user on the chart, and acquiring access information of the chart, wherein the access information comprises a data source interface of the chart; and
sending a sharing request based on the sharing operation, wherein the sharing request carries the access information, so that a receiving end corresponding to the sharing request calls at least part of data sources of the chart to perform dynamic display according to the access information;
wherein the sending of the sharing request based on the sharing operation includes:
verifying the access information carried by the sharing request; and when the access information meets a preset condition, sending the sharing request to the receiving end, wherein the preset condition comprises that the chart is represented as an independent data packet, and the data packet comprises the identity identification of the chart.
2. The method of claim 1, wherein the step of sending the sharing request to the receiving end comprises:
receiving a shared user information list;
and sending the sharing request to the receiving end according to the triggering operation of the shared user information list, wherein the sharing request also carries sharing user information corresponding to the sending end user.
3. A method of sharing a dynamic graph, comprising:
obtaining access information of a chart based on a received sharing request, wherein the access information comprises a data source interface of the chart; and
calling at least part of data sources of the chart to dynamically display according to the access information;
the access information meets a preset condition, the preset condition comprises that the chart is represented as an independent data packet, and the data packet comprises an identity of the chart.
4. The method of claim 3, wherein invoking at least a portion of the data sources of the graph for dynamic presentation based on the access information comprises:
and responding to the update of the data source, and calling the updated data source through the data source interface to display the chart.
5. The method of claim 3, wherein invoking at least a portion of the data sources of the graph for dynamic presentation based on the access information comprises:
responding to interactive operation of a receiving end user on the chart, and sending an interactive instruction to the chart according to the access information;
receiving the updating information aiming at the chart and sent based on the interactive instruction, and displaying at least part of data sources of the updated chart.
6. The method of any of claims 3-5, wherein said invoking at least a portion of a data source of the graph for dynamic presentation based on the access information comprises:
and displaying at least part of data sources of the chart in an instant messaging message flow in a nested page mode.
7. An apparatus for sharing dynamic charts, comprising:
the information acquisition module is arranged for responding to the sharing operation of a sending end user on the chart, and acquiring the access information of the chart, wherein the access information comprises a data source interface of the chart; and
the sharing request module is configured to send a sharing request based on the sharing operation, wherein the sharing request carries the access information, so that a receiving end corresponding to the sharing request calls at least part of data sources of the graph to perform dynamic display according to the access information;
wherein the sending of the sharing request based on the sharing operation includes:
verifying the access information carried by the sharing request;
and when the access information meets a preset condition, sending the sharing request to the receiving end, wherein the preset condition comprises that the chart is represented as an independent data packet, and the data packet comprises the identity identification of the chart.
8. An apparatus for sharing dynamic charts, comprising:
the information acquisition module is arranged for acquiring access information of the chart based on the received sharing request, wherein the access information comprises a data source interface of the chart; and
the data display module is used for calling at least part of data sources of the chart to perform dynamic display according to the access information;
the access information meets a preset condition, the preset condition comprises that the chart is represented as an independent data packet, and the data packet comprises an identity of the chart.
9. A storage medium storing a computer program which, when executed by a processor of a computing device, causes the computing device to perform the method of any of claims 1-6.
10. A computing device, comprising:
a processor;
a memory storing instructions executable by the processor;
wherein the processor is configured to perform the method of any one of claims 1-6.
CN201810122424.3A 2018-02-07 2018-02-07 Method and device for sharing dynamic chart and computing equipment Active CN108289056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810122424.3A CN108289056B (en) 2018-02-07 2018-02-07 Method and device for sharing dynamic chart and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810122424.3A CN108289056B (en) 2018-02-07 2018-02-07 Method and device for sharing dynamic chart and computing equipment

Publications (2)

Publication Number Publication Date
CN108289056A CN108289056A (en) 2018-07-17
CN108289056B true CN108289056B (en) 2020-11-17

Family

ID=62832568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810122424.3A Active CN108289056B (en) 2018-02-07 2018-02-07 Method and device for sharing dynamic chart and computing equipment

Country Status (1)

Country Link
CN (1) CN108289056B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797350A (en) * 2020-06-24 2020-10-20 北京字节跳动网络技术有限公司 Data processing method and device and electronic equipment
CN112163398A (en) * 2020-09-30 2021-01-01 金蝶软件(中国)有限公司 Chart sharing method and related equipment thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638564A (en) * 2012-02-16 2012-08-15 深圳市同洲视讯传媒有限公司 Document sharing device, document sharing terminal and document sharing method
US8437256B2 (en) * 2006-01-10 2013-05-07 Utbk, Llc Systems and methods to provide communication connections
CN104516927A (en) * 2013-09-30 2015-04-15 腾讯科技(深圳)有限公司 Document processing method, device and terminal
CN104750739A (en) * 2013-12-27 2015-07-01 珠海金山办公软件有限公司 Method and device for document sharing between user groups
CN104980452A (en) * 2014-04-01 2015-10-14 珠海金山办公软件有限公司 Document sharing method, device, and system
CN105357241A (en) * 2014-08-22 2016-02-24 珠海金山办公软件有限公司 Document sharing method, apparatus and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110032937A1 (en) * 2009-08-07 2011-02-10 Kenneth Gould System and method for sharing a payload among multiple homed networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8437256B2 (en) * 2006-01-10 2013-05-07 Utbk, Llc Systems and methods to provide communication connections
CN102638564A (en) * 2012-02-16 2012-08-15 深圳市同洲视讯传媒有限公司 Document sharing device, document sharing terminal and document sharing method
CN104516927A (en) * 2013-09-30 2015-04-15 腾讯科技(深圳)有限公司 Document processing method, device and terminal
CN104750739A (en) * 2013-12-27 2015-07-01 珠海金山办公软件有限公司 Method and device for document sharing between user groups
CN104980452A (en) * 2014-04-01 2015-10-14 珠海金山办公软件有限公司 Document sharing method, device, and system
CN105357241A (en) * 2014-08-22 2016-02-24 珠海金山办公软件有限公司 Document sharing method, apparatus and system

Also Published As

Publication number Publication date
CN108289056A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
US10877826B2 (en) Message processing method and apparatus, storage medium, and computer device
US11868591B2 (en) Dynamic user interface customization
US9961129B2 (en) Business transaction correlation with client request monitoring data
US10257316B2 (en) Monitoring of node.js applications
US9830139B2 (en) Application experience sharing system
CN111866537B (en) Information display method and device in live broadcast room, storage medium and electronic equipment
CN110619100B (en) Method and apparatus for acquiring data
CN112055072A (en) Cloud audio input method and device, cloud system, electronic equipment and storage medium
US20220366066A1 (en) Display method, display device, and electronic device
EP4113985A1 (en) Multimedia conference data processing method and apparatus, and electronic device
CN112653670A (en) Service logic vulnerability detection method, device, storage medium and terminal
JP2018506793A (en) Method, apparatus, system and computer program for providing a rich menu of official accounts in an instant messaging service
CN111246238A (en) Live broadcast method, device, storage medium and live broadcast system
CN108289056B (en) Method and device for sharing dynamic chart and computing equipment
CN108574878B (en) Data interaction method and device
US10432490B2 (en) Monitoring single content page application transitions
CN110704151A (en) Information processing method and device and electronic equipment
CN111382039A (en) Method, device, electronic equipment and storage medium for reporting user behavior event
CN112416455B (en) Data processing method, device, terminal and storage medium
CN109756393B (en) Information processing method, system, medium, and computing device
US9942361B2 (en) Reporting page composition data
CN109669737B (en) Application processing method, device, equipment and medium
US11757956B2 (en) Internet (over the top) worldwide public chat capabilities matched to specified (“URL”) streaming content and non specified (“prenamed and hardcoded”) streaming content rooms
KR20230160141A (en) Method and apparatus for messaing service
CN114938359A (en) Message group sending, configuring and executing method and device and storage 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
GR01 Patent grant
GR01 Patent grant