CN114546560A - Data sharing method and device, storage medium and electronic equipment - Google Patents

Data sharing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114546560A
CN114546560A CN202210163392.8A CN202210163392A CN114546560A CN 114546560 A CN114546560 A CN 114546560A CN 202210163392 A CN202210163392 A CN 202210163392A CN 114546560 A CN114546560 A CN 114546560A
Authority
CN
China
Prior art keywords
page
sharing
user
target page
screenshot
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
Application number
CN202210163392.8A
Other languages
Chinese (zh)
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.)
Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd
Original Assignee
Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd filed Critical Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd
Priority to CN202210163392.8A priority Critical patent/CN114546560A/en
Publication of CN114546560A publication Critical patent/CN114546560A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a data sharing method and device, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a sharing request of a user; the sharing request is used for requesting to share data in a target page, and the target page is a page currently browsed by a user; generating a sharing object selection interface; responding to the selection operation of a user through a sharing object selection interface, and determining an object corresponding to the object information corresponding to the selection operation as a sharing object; screenshot is conducted on the target page to obtain a page screenshot of the target page, and a confirmation interface is generated based on the page screenshot of the target page; and responding to a confirmation instruction sent by the user through the confirmation interface, and sharing the page screenshot to the sharing object. According to the method and the device for sharing the page screenshot, the screenshot is conducted on the target page, the page screenshot is shared to the sharing object, the data in the target page is shared, and the defects of content deviation and other data leakage existing in different existing sharing modes are overcome.

Description

Data sharing method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a data sharing method and apparatus, a storage medium, and an electronic device.
Background
Industrial data is at the heart of the industrial internet. The industrial data enables the industrial system to have intelligent functions of describing process flows, diagnosing equipment faults, optimizing a control system, helping enterprise decision making and the like.
At present, technicians generally share industrial data in pages by looking up the industrial data in the pages or share the industrial data through display devices of the industrial data, wherein the referral mode easily causes content deviation, and the sharing through the display devices of the industrial data has a risk of other data leakage.
Disclosure of Invention
The application provides a data sharing method and device, a storage medium and electronic equipment, and aims to overcome the defects of content deviation and other data leakage existing in different existing sharing modes.
In order to achieve the above object, the present application provides the following technical solutions:
a method of data sharing, comprising:
acquiring a sharing request of a user; the sharing request is used for requesting to share data in a target page, and the target page is a page currently browsed by the user;
generating a sharing object selection interface; the sharing object selection interface comprises object information of at least one object;
responding to the selection operation of the user through the sharing object selection interface, and determining an object corresponding to the object information corresponding to the selection operation as a sharing object;
screenshot is carried out on the target page to obtain a page screenshot of the target page, and a confirmation interface is generated based on the page screenshot of the target page;
and responding to a confirmation instruction sent by the user through the confirmation interface, and sharing the page screenshot to the sharing object.
Optionally, the method for obtaining the sharing request of the user includes:
responding to a page viewing instruction of a user, and judging whether the user has the viewing permission of a page corresponding to the page viewing instruction;
displaying a page corresponding to the page viewing instruction under the condition that the user has viewing permission so that the user can browse the page;
responding to a page function menu viewing instruction sent by the user through a target page, and judging whether the target page is in a shareable state; the target page is a page currently browsed by the user;
displaying a page function menu under the condition that the target page is in a sharable state; the sharing function key included by the page function key is in a triggerable state;
and acquiring a sharing request sent by the user through triggering the sharing function key.
Optionally, the determining whether the target page is in a sharable state includes:
judging whether a sharable identification corresponding to the preset target page exists or not;
if the sharable identification corresponding to the preset target page exists, determining that the target page is in a sharable state;
and if the sharing identification corresponding to the preset target page does not exist, determining that the target page is not in the sharing state.
Optionally, the method for sharing the page screenshot to the sharing object includes:
acquiring page related information of the target page;
extracting parameters corresponding to each preset field from the page related information of the target page, and performing objectification construction on each extracted parameter;
packaging the result obtained by the object structure and the page screenshot to obtain a packaging result;
and sending the packaging result to the sharing object.
Optionally, the method, before sharing the page screenshot to the shared object in response to a confirmation instruction issued by the user through the confirmation interface, further includes:
and acquiring the message information input by the user in the confirmation interface.
Optionally, in the method, after the sharing the page screenshot to the sharing object, the method further includes:
receiving a sharing request of the sharing object, and generating a new sharing object selection interface;
determining a target sharing object of the sharing object selected by the new object selection interface;
and sharing the page screenshot to the target sharing object.
A data sharing apparatus, comprising:
the first acquisition unit is used for acquiring a sharing request of a user; the sharing request is used for requesting to share data in a target page, and the target page is a page currently browsed by the user;
the first generating unit is used for generating a sharing object selection interface; the sharing object selection interface comprises object information of at least one object;
the first determining unit is used for responding to the selection operation of the user through the shared object selection interface, and determining an object corresponding to the object information corresponding to the selection operation as a shared object;
the screenshot unit is used for screenshot the target page to obtain a page screenshot of the target page and generating a confirmation interface based on the page screenshot of the target page;
and the first sharing unit is used for responding to a confirmation instruction sent by the user through the confirmation interface and sharing the page screenshot to the sharing object.
Optionally, the above apparatus, wherein the first obtaining unit is specifically configured to:
responding to a page viewing instruction of a user, and judging whether the user has the viewing permission of a page corresponding to the page viewing instruction;
displaying a page corresponding to the page viewing instruction under the condition that the user has viewing permission so that the user can browse the page;
responding to a page function menu viewing instruction sent by the user through a target page, and judging whether the target page is in a shareable state; the target page is a page currently browsed by the user;
displaying a page function menu under the condition that the target page is in a sharable state; the sharing function key included by the page function key is in a triggerable state;
and acquiring a sharing request sent by the user through triggering the sharing function key.
A storage medium storing a set of instructions, wherein the set of instructions, when executed by a processor, implements a data sharing method as described above.
An electronic device, comprising:
a memory for storing at least one set of instructions;
and the processor is used for executing the instruction set stored in the memory and realizing the data sharing method by executing the instruction set.
Compared with the prior art, the method has the following advantages:
the application provides a data sharing method and device, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a sharing request of a user; the sharing request is used for requesting to share data in a target page, and the target page is a page currently browsed by a user; generating a sharing object selection interface; the sharing object selection interface comprises object information of at least one object; responding to the selection operation of a user through a sharing object selection interface, and determining an object corresponding to the object information corresponding to the selection operation as a sharing object; screenshot is conducted on the target page to obtain a page screenshot of the target page, and a confirmation interface is generated based on the page screenshot of the target page; and responding to a confirmation instruction sent by the user through the confirmation interface, and sharing the page screenshot to the sharing object. According to the method and the device for sharing the page screenshot, the screenshot is conducted on the target page, the page screenshot is shared to the sharing object, the data in the target page is shared, and the defects of content deviation and other data leakage existing in different existing sharing modes are overcome.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a data sharing method according to the present application;
fig. 2 is a flowchart of another method of a data sharing method provided in the present application;
fig. 3 is a flowchart of another method of a data sharing method provided in the present application;
fig. 4 is a flowchart of another method of a data sharing method provided in the present application;
fig. 5 is an exemplary diagram of a data sharing method provided in the present application;
fig. 6 is a diagram illustrating another example of a data sharing method provided in the present application;
fig. 7 is a diagram illustrating another example of a data sharing method provided in the present application;
fig. 8 is a schematic structural diagram of a data sharing apparatus provided in the present application;
fig. 9 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the disclosure of the present application are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the disclosure herein are exemplary rather than limiting, and those skilled in the art will understand that "one or more" will be understood unless the context clearly dictates otherwise.
The application is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
An embodiment of the present application provides a data sharing method, where an execution subject of the method may be a processor of a terminal device, and referring to fig. 1, a flow chart of the method of the data sharing method is shown in fig. 1, and specifically includes:
s101, obtaining a sharing request of a user.
In this embodiment, a sharing request of a user is obtained, where the sharing request is used to request to share data of a target page, and the target page is a page currently browsed by the user, that is, a sharing request for a page of a current process is obtained.
Referring to fig. 2, the process of obtaining the sharing request of the user specifically includes the following steps:
s201, responding to a page viewing instruction of a user, and judging whether the user has a viewing permission of a page corresponding to the page viewing instruction.
In this embodiment, in response to a page view instruction of a user, it is determined whether the user has a page view permission corresponding to the page view instruction, and the page view instruction of the user may be, for example, an instruction sent by triggering a page view related function key in the terminal device.
Specifically, the process of determining whether the user has the page view permission corresponding to the page view instruction includes: based on the user information of the user, searching authority user information matched with the user information of the user in the authority user information of the page corresponding to the page viewing instruction, if the authority user information matched with the user information of the user is searched, determining that the user has the viewing authority of the page corresponding to the page viewing instruction, and if the authority user information matched with the user information of the user is not searched, determining that the user does not have the viewing authority of the page corresponding to the viewing instruction.
S202, under the condition that the user has the viewing permission, displaying a page corresponding to the page viewing instruction so that the user can browse the page.
In this embodiment, under the condition that it is determined that the user has the viewing permission of the page corresponding to the viewing instruction, the description allows the user to view the page corresponding to the viewing permission, and the page corresponding to the viewing permission is displayed, so that the user can browse the page.
S203, responding to a page function menu checking instruction sent by a user through the target page, and judging whether the target page is in a sharable state.
In this embodiment, whether the target page is in the sharable state is determined in response to a page function menu viewing instruction sent by a user through the target page, where the target page is a page currently browsed by the user.
Specifically, the process of determining whether the target page is in the sharable state includes:
judging whether sharable identification corresponding to a preset target page exists or not;
if sharable identifications corresponding to the preset target pages exist, determining that the target pages are in a sharable state;
and if the sharable identification corresponding to the preset target page does not exist, determining that the target page is not in the sharable state.
In this embodiment, a sharable identifier or an unshared identifier is configured for each page in advance, the sharable identifier is used to indicate that the corresponding page can be shared, and the unshared identifier is used to indicate that the corresponding page cannot be shared. Optionally, a sharable identifier or an unshared identifier may be configured in the configuration file in advance for each page.
In this embodiment, if the sharable identifier corresponding to the target page exists, it indicates that the target page may be shared, and it is determined that the target page is in the sharable state, and if the sharable identifier corresponding to the target page does not exist, that is, the non-sharable identifier corresponding to the target page exists, it indicates that the target page may not be shared, and it is determined that the target page is in the non-sharable state.
And S204, under the condition that the target page is in a sharable state, displaying a page function menu, wherein a sharing function key included in the page function menu is in a triggerable state.
In this embodiment, under the condition that it is determined that the target page is in the sharable state, the page function menu of the target page at least includes a sharing function key, and optionally, may further include a collection function key and a refresh function key. The sharing function key included in the page function menu is in a triggerable state.
And S205, acquiring a sharing request sent by the user through triggering the sharing function key.
In this embodiment, if the user has a need to share the target page, the user can send a sharing request by clicking a sharing function key in the page function menu.
In this embodiment, a sharing request sent by a user through triggering a sharing function key is obtained.
In this embodiment, the user may also collect the target page by clicking a collection function key in the page function menu.
In this embodiment, the user may also refresh the target page by clicking a refresh function key in the page function menu.
And S102, generating a sharing object selection interface.
In the implementation, after a sharing request of a user is obtained, a sharing object selection interface is generated; the shared object selection interface comprises object information of at least one object.
And S103, responding to the selection operation of the user through the sharing object selection interface, and determining the object corresponding to the object information corresponding to the selection operation as the sharing object.
In this embodiment, the user may select the object information in the shared object selection interface through the shared object selection interface. The user can select one or more object information through the sharing object interface. Alternatively, the object information may be an object name.
In this embodiment, after the user selects through the object information in the shared object selection interface, in response to the selection operation of the user through the shared object selection interface, the object corresponding to the object information corresponding to the selection operation is determined as the shared object, that is, the object corresponding to the object information selected by the user in the shared object selection interface is determined as the shared object.
And S104, performing screenshot on the target page to obtain a page screenshot of the target page, and generating a confirmation interface based on the page screenshot of the target page.
In the embodiment, screenshot is performed on a target page to obtain a page screenshot of the target page, and a confirmation interface is generated based on the page screenshot of the target page; the confirmation interface at least comprises a page screenshot of a target page, object information of a sharing object, a cancel button and a send button.
And S105, responding to a confirmation instruction sent by the user through the confirmation interface, and sharing the page screenshot to the sharing object.
In this embodiment, the user clicks a send button in the confirmation interface to send a confirmation instruction, and responds to the confirmation instruction sent by the user through the confirmation interface to share the screenshot of the page with the sharing object.
Referring to fig. 3, a specific process of sharing a page screenshot to a sharing object includes the following steps:
s301, acquiring page related information of the target page.
In this embodiment, page related information of a target page is obtained.
S302, extracting parameters corresponding to each preset field from the page related information of the target page, and performing objectification construction on each extracted parameter.
In this embodiment, the parameter corresponding to each preset field is extracted from the page related information of the target page, and the extracted parameters include, but are not limited to:
the message field declares the communication information of the current message, wherein id represents a message unique identifier, type represents the type of the current message (mainly distinguishing some status messages from non-status messages), client represents the type of the client, to represents the id of the client needing to arrive, and from represents the id of the client sending the message;
the company code is used for distinguishing messages among different enterprises, and the msgType is used for distinguishing different message types (for example, messages and data sharing messages define different messages);
the msgContent field declares the actual content of the current message, wherein action is used for indicating the display mode of the shared content, time is a generation timestamp, title is a display title, and a specific access page and an item id of the message are defined in appExra (appUrl is an access address of the shared message, and appId is an item id corresponding to the shared page). style defines a sharing message display mode, template defines a message display template type, body defines specific message content (content is actual content, title is actual title), head defines related ui, and the related ui mainly comprises iconUrl of the project and page screenshot Thumbnail, and the page screenshot is transmitted by base64 coding after being compressed by images.
In this embodiment, after the parameter corresponding to each preset field is extracted, an objectification construction is performed on each extracted parameter, and for a specific objectification construction process, reference is made to the prior art, which is not described herein again.
And S303, encapsulating the result obtained by the objectification construction and the page screenshot to obtain an encapsulated result.
In this embodiment, the result obtained by the objectification construction and the page screenshot are encapsulated, so that an encapsulated result is obtained.
S304, the packaging result is sent and shared to the sharing object.
In this embodiment, the encapsulation result is shared to the sharing object.
In this embodiment, after sharing the encapsulation result to the sharing object, a viewing instruction of the sharing object is received, the encapsulation result is analyzed to obtain a screenshot of the target page, and the screenshot is displayed to the sharing object, so that the sharing object can view data in the target page.
In the data sharing method provided by the embodiment of the application, the confirmation interface may further include a message input box, and the user may leave a message through the message input box in the confirmation interface.
In this embodiment, the message information input by the user in the confirmation interface is acquired. Namely, the message information input by the user through the message input box in the confirmation interface is obtained.
Correspondingly, if the user leaves a message through the message input box in the confirmation interface, step S105 specifically includes: and sharing the page screenshot and the message information to the sharing user.
The data sharing method includes the steps of obtaining a sharing request of a user, wherein the sharing request is used for requesting to share data in a target page, the target page is a page browsed by the user currently, generating a sharing object selection interface, responding to selection operation of the user through the sharing object selection interface, determining an object corresponding to object information corresponding to the selection operation as a sharing object, screenshot the target page, obtaining a page screenshot of the target page, generating a confirmation interface based on the page screenshot of the target page, and responding to a confirmation instruction sent by the user through the confirmation interface, and sharing the page screenshot to the sharing object. By applying the data sharing method provided by the embodiment of the application, the target page is subjected to screenshot, and the screenshot of the page is shared to the sharing object, so that the data in the target page is shared, and the defects of content deviation and other data leakage existing in different existing sharing modes are overcome.
Referring to fig. 4, after step S105, the data sharing method according to the embodiment of the present application may further include the following steps:
s401, receiving a sharing request of a sharing object, and generating a new sharing object selection interface.
In this embodiment, after the page screenshot of the target page is shared with the sharing object, a sharing request of the sharing object may be received, and a new sharing object selection interface is generated. The new sharing exclusive selection interface includes object information of at least one object, and optionally, the object information may be an object name.
S402, determining a target sharing object according to the sharing object selected by the sharing object through the new object selection interface.
In this embodiment, the shared object may select at least one object information through the new object selection interface, and in this embodiment, a response is performed to a selection operation of the shared object through the new object selection interface, and an object corresponding to the object information corresponding to the selection operation is determined as a target shared object, that is, an object corresponding to the object information selected by the shared object is determined as a target shared object.
And S403, sharing the page screenshot to a target sharing object.
In this embodiment, the page screenshot is shared with the target sharing object, specifically, a new confirmation interface is generated, the new confirmation interface at least includes a cancel button and a send button, and the sharing user responds to a confirmation instruction sent by clicking the send button in the new confirmation interface, so that the page screenshot is shared with the target sharing object.
According to the data sharing method, after the page screenshot of the target page is shared to the sharing object, the sharing object can also share the page screenshot to other objects, diversified sharing is achieved, and therefore user sharing experience is improved.
The above mentioned data sharing method is exemplified as follows:
referring to fig. 5, a user a sends a page function menu viewing instruction by clicking a button corresponding to a mark position a in a target page, a processor responds to the page function menu viewing instruction, the page function menu is shown in fig. 6, the page function menu includes a refresh button, a forward button and a collection button, the user a sends a sharing request by clicking a button corresponding to a mark position b in fig. 6, that is, clicking the forward button, and the processor acquires the sharing request sent by the user a and generates a sharing object selection interface, wherein the sharing object selection interface includes an object name of at least one object.
The user A selects the Xiaozhao through the sharing object selection interface, the processor determines the Xiaozhao selected by the user A as the sharing object, captures a target page to obtain a page screenshot of the target page, and generates a confirmation interface based on the page screenshot, as shown in fig. 7, wherein the confirmation interface comprises the sharing object, the page screenshot of the target page, a message input box, a cancel button and a send button.
A user can leave a message in the message input box, a confirmation instruction is sent out by clicking a sending button in a confirmation interface, and the processor sends the page screenshot of the target page to the sharing object after receiving the confirmation instruction.
It should be noted that while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments disclosed herein may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the disclosure is not limited in this respect.
Corresponding to the method described in fig. 1, an embodiment of the present application further provides a data sharing apparatus, which is used for specifically implementing the method in fig. 1, and a schematic structural diagram of the data sharing apparatus is shown in fig. 8, and specifically includes:
a first obtaining unit 801, configured to obtain a sharing request of a user; the sharing request is used for requesting to share data in a target page, and the target page is a page currently browsed by the user;
a first generating unit 802, configured to generate a sharing object selection interface; the sharing object selection interface comprises object information of at least one object;
a first determining unit 803, configured to determine, in response to a selection operation of the user through the shared object selection interface, an object corresponding to object information corresponding to the selection operation as a shared object;
a screenshot unit 804, configured to capture a screenshot of the target page to obtain a page screenshot of the target page, and generate a confirmation interface based on the page screenshot of the target page;
the first sharing unit 805 is configured to share the page screenshot to the sharing object in response to a confirmation instruction issued by the user through the confirmation interface.
The data sharing device provided by the embodiment of the application shares the page screenshot to the sharing object by screenshot the target page, so that the data in the target page can be shared, and the defects of content deviation and other data leakage existing in different existing sharing modes are overcome.
In an embodiment of the present application, based on the foregoing scheme, the first obtaining unit 801 is specifically configured to:
responding to a page viewing instruction of a user, and judging whether the user has the viewing permission of a page corresponding to the page viewing instruction;
displaying a page corresponding to the page viewing instruction under the condition that the user has viewing permission so that the user can browse the page;
responding to a page function menu viewing instruction sent by the user through a target page, and judging whether the target page is in a shareable state; the target page is a page currently browsed by the user;
displaying a page function menu under the condition that the target page is in a sharable state; the sharing function key included by the page function key is in a triggerable state;
and acquiring a sharing request sent by the user through triggering the sharing function key.
In an embodiment of the present application, based on the foregoing scheme, when determining whether the target page is in the sharable state, the first obtaining unit 801 is specifically configured to:
judging whether a sharable identification corresponding to the preset target page exists or not;
if the sharable identification corresponding to the preset target page exists, determining that the target page is in a sharable state;
and if the sharing identification corresponding to the preset target page does not exist, determining that the target page is not in the sharing state.
In an embodiment of the present application, based on the foregoing solution, the first sharing unit 805 is specifically configured to:
acquiring page related information of the target page;
extracting parameters corresponding to each preset field from the page related information of the target page, and performing objectification construction on each extracted parameter;
packaging the result obtained by the object structure and the page screenshot to obtain a packaging result;
and sending the packaging result to the sharing object.
In an embodiment of the present application, based on the foregoing scheme, the method may further include:
and the second acquisition unit is used for acquiring the message information input by the user in the confirmation interface.
In an embodiment of the present application, based on the foregoing scheme, the method may further include:
the second generation unit is used for receiving a sharing request of the sharing object and generating a new sharing object selection interface;
the second determination unit is used for determining a target shared object from the shared object selected by the shared object through the new object selection interface;
and the second sharing unit is used for sharing the page screenshot to the target sharing object.
The embodiment of the present application further provides a storage medium, where an instruction set is stored in the storage medium, and when the instruction set runs, the data sharing method disclosed in any of the above embodiments is executed.
An electronic device is further provided in the embodiments of the present application, and a schematic structural diagram of the electronic device is shown in fig. 9, and specifically includes a memory 901 for storing at least one set of instruction sets; a processor 902 configured to execute the set of instructions stored in the memory, and to implement the data sharing method disclosed in any of the above embodiments by executing the set of instructions.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments disclosed herein and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features and (but not limited to) technical features having similar functions disclosed in the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A method for sharing data, comprising:
acquiring a sharing request of a user; the sharing request is used for requesting to share data in a target page, and the target page is a page currently browsed by the user;
generating a sharing object selection interface; the sharing object selection interface comprises object information of at least one object;
responding to the selection operation of the user through the sharing object selection interface, and determining an object corresponding to the object information corresponding to the selection operation as a sharing object;
screenshot is conducted on the target page to obtain a page screenshot of the target page, and a confirmation interface is generated based on the page screenshot of the target page;
and responding to a confirmation instruction sent by the user through the confirmation interface, and sharing the page screenshot to the sharing object.
2. The method according to claim 1, wherein the obtaining the sharing request of the user comprises:
responding to a page viewing instruction of a user, and judging whether the user has the viewing permission of a page corresponding to the page viewing instruction;
displaying a page corresponding to the page viewing instruction under the condition that the user has viewing permission so that the user can browse the page;
responding to a page function menu viewing instruction sent by the user through a target page, and judging whether the target page is in a shareable state or not; the target page is a page currently browsed by the user;
displaying a page function menu under the condition that the target page is in a sharable state; the sharing function key included by the page function key is in a triggerable state;
and acquiring a sharing request sent by the user through triggering the sharing function key.
3. The method of claim 2, wherein the determining whether the target page is in a shareable state comprises:
judging whether a sharable identification corresponding to the preset target page exists or not;
if the sharable identification corresponding to the preset target page exists, determining that the target page is in a sharable state;
and if the sharing identification corresponding to the preset target page does not exist, determining that the target page is not in the sharing state.
4. The method of claim 1, wherein the sharing the page screenshot to the sharing object comprises:
acquiring page related information of the target page;
extracting parameters corresponding to each preset field from the page related information of the target page, and performing objectification construction on each extracted parameter;
packaging the result obtained by the object structure and the page screenshot to obtain a packaging result;
and sending the packaging result to the sharing object.
5. The method according to claim 1 or 4, wherein the step of sharing the page screenshot to the sharing object in response to a confirmation instruction issued by the user through the confirmation interface further comprises:
and acquiring the message information input by the user in the confirmation interface.
6. The method of claim 1, wherein after sharing the page screenshot to the sharing object, further comprising:
receiving a sharing request of the sharing object, and generating a new sharing object selection interface;
determining a target sharing object of the sharing object selected by the new object selection interface;
and sharing the page screenshot to the target sharing object.
7. A data sharing apparatus, comprising:
the first acquisition unit is used for acquiring a sharing request of a user; the sharing request is used for requesting to share data in a target page, and the target page is a page currently browsed by the user;
the first generating unit is used for generating a sharing object selection interface; the sharing object selection interface comprises object information of at least one object;
the first determining unit is used for responding to the selection operation of the user through the shared object selection interface, and determining an object corresponding to the object information corresponding to the selection operation as a shared object;
the screenshot unit is used for screenshot the target page to obtain a page screenshot of the target page and generating a confirmation interface based on the page screenshot of the target page;
and the first sharing unit is used for responding to a confirmation instruction sent by the user through the confirmation interface and sharing the page screenshot to the sharing object.
8. The apparatus according to claim 7, wherein the first obtaining unit is specifically configured to:
responding to a page viewing instruction of a user, and judging whether the user has the viewing permission of a page corresponding to the page viewing instruction;
displaying a page corresponding to the page viewing instruction under the condition that the user has viewing permission so that the user can browse the page;
responding to a page function menu viewing instruction sent by the user through a target page, and judging whether the target page is in a shareable state or not; the target page is a page currently browsed by the user;
displaying a page function menu under the condition that the target page is in a sharable state; the sharing function key included by the page function key is in a triggerable state;
and acquiring a sharing request sent by the user through triggering the sharing function key.
9. A storage medium storing a set of instructions, wherein the set of instructions, when executed by a processor, implement a data sharing method according to any one of claims 1 to 6.
10. An electronic device, comprising:
a memory for storing at least one set of instructions;
a processor configured to execute a set of instructions stored in the memory, and to implement the data sharing method according to any one of claims 1 to 6 by executing the set of instructions.
CN202210163392.8A 2022-02-22 2022-02-22 Data sharing method and device, storage medium and electronic equipment Pending CN114546560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210163392.8A CN114546560A (en) 2022-02-22 2022-02-22 Data sharing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210163392.8A CN114546560A (en) 2022-02-22 2022-02-22 Data sharing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114546560A true CN114546560A (en) 2022-05-27

Family

ID=81677595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210163392.8A Pending CN114546560A (en) 2022-02-22 2022-02-22 Data sharing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114546560A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242503A (en) * 2022-07-21 2022-10-25 北京字跳网络技术有限公司 Content space sharing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035929A (en) * 2013-03-04 2014-09-10 腾讯科技(深圳)有限公司 Webpage screenshot method and device
CN104461634A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Device and method for loading share module on webpage
CN108520014A (en) * 2018-03-21 2018-09-11 广东欧珀移动通信有限公司 Information sharing method, device, mobile terminal and computer-readable medium
CN109033466A (en) * 2018-08-31 2018-12-18 掌阅科技股份有限公司 Page sharing method calculates equipment and computer storage medium
CN109697091A (en) * 2017-10-23 2019-04-30 腾讯科技(深圳)有限公司 Processing method, device, storage medium and the electronic device of the page
CN110471895A (en) * 2019-07-29 2019-11-19 维沃移动通信有限公司 Sharing method and terminal device
CN112486383A (en) * 2020-11-26 2021-03-12 万翼科技有限公司 Picture examination sharing method and related device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035929A (en) * 2013-03-04 2014-09-10 腾讯科技(深圳)有限公司 Webpage screenshot method and device
CN104461634A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Device and method for loading share module on webpage
CN109697091A (en) * 2017-10-23 2019-04-30 腾讯科技(深圳)有限公司 Processing method, device, storage medium and the electronic device of the page
CN108520014A (en) * 2018-03-21 2018-09-11 广东欧珀移动通信有限公司 Information sharing method, device, mobile terminal and computer-readable medium
CN109033466A (en) * 2018-08-31 2018-12-18 掌阅科技股份有限公司 Page sharing method calculates equipment and computer storage medium
CN110471895A (en) * 2019-07-29 2019-11-19 维沃移动通信有限公司 Sharing method and terminal device
CN112486383A (en) * 2020-11-26 2021-03-12 万翼科技有限公司 Picture examination sharing method and related device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242503A (en) * 2022-07-21 2022-10-25 北京字跳网络技术有限公司 Content space sharing method and device, electronic equipment and storage medium
CN115242503B (en) * 2022-07-21 2024-05-07 北京字跳网络技术有限公司 Content space sharing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10795629B2 (en) Text and custom format information processing method, client, server, and computer-readable storage medium
CN111026635B (en) Software project testing system, method, device and storage medium
CN109766253B (en) Performance data sending method and device, computer equipment and storage medium
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN108763086A (en) Script method for recording, terminal and computer readable storage medium based on remote real machine
CN106104498B (en) Information processing system, data processing control method, program and recording medium
WO2015196979A1 (en) Web page information presentation method and system
CN111400378A (en) Real-time log display method and device based on ElasticSearch, computer equipment and medium
CN112202824B (en) Network resource access processing method and device, server and terminal
CN112764857A (en) Information processing method and device and electronic equipment
EP4124024A1 (en) Method and apparatus for generating interaction record, and device and medium
US10775751B2 (en) Automatic generation of regular expression based on log line data
CN114546560A (en) Data sharing method and device, storage medium and electronic equipment
JP2011043924A (en) Web action history acquisition system, web action history acquisition method, gateway device and program
CN114979730B (en) Screen transmission interaction method, device, computer equipment and storage medium
CN110659435A (en) Page data acquisition processing method and device, computer equipment and storage medium
CN107295035B (en) Method and device for sharing content of mobile terminal
CN113516729A (en) Chart drawing method and device and computer readable storage medium
CN107729207A (en) A kind of monitoring method and device of application program main thread
CN112272836B (en) Information processing device, image data generating device, information processing system, information processing method, and recording medium
CN111817944A (en) Picture sharing method and device and electronic equipment
JP5623333B2 (en) Monitoring server and monitoring evaluation method
CN111045934A (en) Page analysis method, device, client, storage medium and electronic equipment
CN112769674A (en) Mailbox signature generation method and device, readable storage medium and computer equipment
CN112817816B (en) Embedded point processing method and device, computer equipment 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