[go: up one dir, main page]

CN114816499B - Electronic resource sharing method, device and storage medium - Google Patents

Electronic resource sharing method, device and storage medium Download PDF

Info

Publication number
CN114816499B
CN114816499B CN202210472766.4A CN202210472766A CN114816499B CN 114816499 B CN114816499 B CN 114816499B CN 202210472766 A CN202210472766 A CN 202210472766A CN 114816499 B CN114816499 B CN 114816499B
Authority
CN
China
Prior art keywords
electronic resource
sharing
ide
project
shared
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
CN202210472766.4A
Other languages
Chinese (zh)
Other versions
CN114816499A (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.)
Guangzhou Tencent Technology Co Ltd
Original Assignee
Guangzhou Tencent 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 Guangzhou Tencent Technology Co Ltd filed Critical Guangzhou Tencent Technology Co Ltd
Priority to CN202210472766.4A priority Critical patent/CN114816499B/en
Publication of CN114816499A publication Critical patent/CN114816499A/en
Application granted granted Critical
Publication of CN114816499B publication Critical patent/CN114816499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an electronic resource sharing method, an electronic resource sharing device and a storage medium, which are used for simplifying an electronic resource sharing operation flow and improving sharing efficiency. The electronic resource sharing method implemented by the terminal side comprises the steps of responding to sharing operation triggered by shared electronic resources in an integrated development environment IDE, sending an electronic resource sharing request to a network side server to enable the network side server to obtain the electronic resources, and displaying sharing access information of the electronic resources returned by the network side server, wherein the sharing access information is used for presenting the electronic resources in the IDE. The sharing can be realized without a third-party tool, so that the electronic resource sharing operation flow is simplified, and the sharing efficiency is improved.

Description

Electronic resource sharing method, device and storage medium
The application is a divisional application, the application number of the original application is 201810688500.7, the date of the original application is 2018, 06 and 28, and the name of the original application is an electronic resource sharing method, an electronic resource sharing device and a storage medium, and the whole content of the original application is incorporated by reference.
Technical Field
The present invention relates to the field of file sharing technologies, and in particular, to a method, an apparatus, and a storage medium for sharing electronic resources.
Background
An integrated development environment (IDE, INTEGRATED DEVELOPMENT ENVIRONMENT) is an application program for providing a program development environment, generally including a code editor, compiler, debugger, and graphical user interface tools. IDE integrates the development software services of code writing function, analysis function, compiling function, debugging function, etc. The program can run independently or be used in combination with other programs.
When writing project code in an IDE, it is sometimes necessary to send the code to others or share the code to others, such as to demonstrate a code writing method, to show a use example, to reproduce a development problem, and so on. In the prior art, the IDE is only used for editing the project and cannot share the project. The sharing must be shared by a third party tool, such as by compression of the package transmission with compressed software. A common project code sharing flow is as follows:
1. The item folders to be shared are packaged into a compressed file.
2. And transmitting the packaged file to a person to be imported in a mode of mail, instant messaging software, cloud storage and the like.
3. The importer decompresses the downloaded file to a folder and then opens it in the IDE or normal editor.
Therefore, the existing IDE project sharing method is complex in operation flow and complicated in steps, and reduces the efficiency of IDE project sharing.
Disclosure of Invention
The embodiment of the invention provides an electronic resource sharing method, an electronic resource sharing device and a storage medium, which are used for simplifying an electronic resource sharing operation flow and improving sharing efficiency.
In a first aspect, an electronic resource sharing method implemented by a terminal side is provided, including:
Responding to a sharing operation triggered by shared electronic resources in an integrated development environment IDE, and sending an electronic resource sharing request to a network side server so that the network side server obtains the electronic resources;
And displaying the sharing access information of the electronic resource returned by the network side server, wherein the sharing access information is used for presenting the electronic resource in the IDE.
Optionally, the sending, in response to a sharing operation triggered for the shared electronic resource in the integrated development environment IDE, an electronic resource sharing request to the network side server includes:
receiving an electronic resource sharing instruction aiming at a sharing operation triggered by a shared electronic resource in an integrated development environment IDE, wherein the electronic resource sharing instruction carries an electronic resource name and electronic resource description information of the electronic resource;
and sending an electronic resource sharing request to a network side server based on the electronic resource name and the electronic resource description information, wherein the electronic resource sharing request at least carries the electronic resource.
Optionally, the receiving, in response to the sharing operation triggered by the shared electronic resource in the integrated development environment IDE, an electronic resource sharing instruction includes:
and receiving the electronic resource sharing instruction according to filling operation of the electronic resource name and the electronic resource description information on an interactive interface in an integrated development environment IDE.
Optionally, the electronic resource includes an IDE project file, the electronic resource name includes a project name of the IDE project file, the electronic resource description information includes project description information of the IDE project file, and the electronic resource sharing request further carries the project name and the project description information.
Optionally, the shared access information comprises at least one of a shared link, a shared image code and a shared text in a specific format.
In a second aspect, another electronic resource sharing method implemented by a terminal side is provided, including:
responding to filling operation of sharing access information of shared electronic resources in an integrated development environment IDE, and sending an electronic resource access request to a network side server, wherein the sharing access information is used for presenting the electronic resources in the IDE;
And presenting the electronic resource in the IDE based on a response message returned by the network side server, wherein the response message carries the electronic resource searched according to the sharing access information.
Optionally, the sharing access information includes a sharing identifier corresponding to the electronic resource, and the responding to the filling operation of the sharing access information of the shared electronic resource in the integrated development environment IDE sends an electronic resource access request to a network side server, including:
Receiving an electronic resource access instruction in response to filling operation of the sharing identification of the electronic resource in the integrated development environment IDE;
And sending the electronic resource access request to a network side server based on the sharing identification.
Optionally, the responding to the filling operation of the shared access information for the shared electronic resource in the integrated development environment IDE sends an electronic resource access request to a network side server, which includes:
Responding to a click operation triggered by sharing access information of the electronic resource on a window outside the IDE, acquiring the sharing access information and starting the IDE;
and sending the electronic resource access request to a network side server based on the sharing access information.
Optionally, the response message further carries an electronic resource name and electronic resource description information of the electronic resource searched according to the sharing access information;
The presenting the electronic resource in the IDE based on the response message returned by the network side server comprises the following steps:
receiving a response message returned by the network side server;
Reading the electronic resource, and the electronic resource name and the electronic resource description information of the electronic resource based on the response message;
and displaying the electronic resource name and the electronic resource description information of the electronic resource in the IDE, and presenting the electronic resource.
Optionally, displaying the electronic resource name and the electronic resource description information of the electronic resource in the IDE, and presenting the electronic resource, including:
receiving an import project instruction of the electronic resource in response to a confirmation operation triggered by the electronic resource name and the electronic resource description information of the electronic resource in an integrated development environment IDE;
Extracting the electronic resource based on the instruction of the imported item;
Based on the electronic resource, an item is created in the IDE and the electronic resource is opened in the created item.
Optionally, the electronic resource includes an IDE project file, the electronic resource name includes a project name of the IDE project file, and the electronic resource description information includes project description information of the IDE project file.
In a third aspect, an electronic resource sharing method implemented by a network side is provided, including:
receiving an electronic resource sharing request sent by a requester to obtain a shared electronic resource, wherein the electronic resource sharing request is obtained in response to a sharing operation triggered by the shared electronic resource in an integrated development environment IDE;
Generating sharing access information of the electronic resource based on the electronic resource, wherein the sharing access information is used for presenting the electronic resource in the IDE;
And returning the shared access information to the requester.
Optionally, the generating, based on the electronic resource, shared access information of the electronic resource includes:
storing the electronic resource and generating a sharing identifier corresponding to the electronic resource;
establishing a corresponding relation between the sharing identification and the electronic resource, and storing the corresponding relation;
and based on the sharing identification, obtaining the sharing access information of the electronic resource.
Optionally, after the establishing the correspondence between the sharing identifier and the electronic resource and storing the correspondence, the method further includes:
receiving an electronic resource access request sent by a requester, wherein the electronic resource access request carries the sharing identifier;
searching the electronic resource corresponding to the sharing identifier in the corresponding relation;
And returning the searched electronic resource to the requester.
In a fourth aspect, an electronic resource sharing device implemented at a terminal side is provided, including:
The sending unit is used for responding to the sharing operation triggered by the shared electronic resource in the integrated development environment IDE and sending an electronic resource sharing request to the network side server so that the network side server obtains the electronic resource;
the first receiving unit is used for displaying the sharing access information of the electronic resource returned by the network side server, wherein the sharing access information is used for presenting the electronic resource in the IDE.
Optionally, the apparatus further includes a second receiving unit, where the second receiving unit is configured to:
receiving an electronic resource sharing instruction aiming at a sharing operation triggered by a shared electronic resource in an integrated development environment IDE, wherein the electronic resource sharing instruction carries an electronic resource name and electronic resource description information of the electronic resource;
the first receiving unit is specifically configured to:
and sending an electronic resource sharing request to a network side server based on the electronic resource name and the electronic resource description information, wherein the electronic resource sharing request at least carries the electronic resource.
Optionally, the second receiving unit is specifically configured to:
and receiving the electronic resource sharing instruction according to filling operation of the electronic resource name and the electronic resource description information on an interactive interface in an integrated development environment IDE.
Optionally, the electronic resource includes an IDE project file, the electronic resource name includes a project name of the IDE project file, the electronic resource description information includes project description information of the IDE project file, and the electronic resource sharing request further carries the project name and the project description information.
Optionally, the first receiving unit is specifically configured to receive a sharing identifier corresponding to the electronic resource returned by the network side server;
The device further comprises a generation unit, a display unit and a display unit, wherein the generation unit is used for generating sharing access information corresponding to the electronic resource according to the sharing identification, and the sharing access information is used for displaying the electronic resource in the IDE based on the sharing identification;
the first receiving unit is specifically configured to display the shared access information.
Optionally, the shared access information comprises at least one of a shared link, a shared image code and a shared text in a specific format.
In a fifth aspect, another electronic resource sharing device implemented at a terminal side is provided, including:
a sending unit, configured to send an electronic resource access request to a network side server in response to a filling operation of sharing access information for a shared electronic resource in an integrated development environment IDE, where the sharing access information is used to present the electronic resource in the IDE;
And the item creation unit is used for presenting the electronic resource in the IDE based on a response message returned by the network side server, wherein the response message carries the electronic resource searched according to the sharing access information.
Optionally, the sharing access information includes a sharing identifier corresponding to the electronic resource, and the device further includes a first receiving unit, where the first receiving unit is configured to:
Receiving an electronic resource access instruction in response to filling operation of the sharing identification of the electronic resource in the integrated development environment IDE;
the sending unit is specifically configured to:
And sending the electronic resource access request to a network side server based on the sharing identification.
Optionally, the sending unit is specifically configured to:
Responding to a click operation triggered by sharing access information of the electronic resource on a window outside the IDE, acquiring the sharing access information and starting the IDE;
and sending the electronic resource access request to a network side server based on the sharing access information.
Optionally, the response message further carries an electronic resource name and electronic resource description information of the electronic resource searched according to the sharing access information;
The device also comprises a second receiving unit, a first receiving unit and a second receiving unit, wherein the second receiving unit is used for receiving a response message returned by the network side server;
The project creation unit is specifically used for reading the electronic resource, and the electronic resource name and the electronic resource description information of the electronic resource based on the response message;
the project creation unit is specifically configured to display an electronic resource name and electronic resource description information of the electronic resource in the IDE, and present the electronic resource.
Optionally, the item creation unit is specifically configured to:
receiving an import project instruction of the electronic resource in response to a confirmation operation triggered by the electronic resource name and the electronic resource description information of the electronic resource in an integrated development environment IDE;
Extracting the electronic resource based on the instruction of the imported item;
Based on the electronic resource, an item is created in the IDE and the electronic resource is opened in the created item.
Optionally, the electronic resource includes an IDE project file, the electronic resource name includes a project name of the IDE project file, and the electronic resource description information includes project description information of the IDE project file.
In a sixth aspect, an electronic resource sharing device implemented by a network side is provided, including:
the first receiving unit is used for receiving an electronic resource sharing request sent by a requester to obtain a shared electronic resource, wherein the electronic resource sharing request is obtained in response to a sharing operation triggered by the shared electronic resource in an integrated development environment IDE;
The generation unit is used for generating sharing access information of the electronic resource based on the electronic resource, wherein the sharing access information is used for presenting the electronic resource in the IDE;
And the first response unit is used for returning the shared access information to the requester.
Optionally, the device further comprises a storage unit, wherein the storage unit is used for storing the electronic resource;
the generation unit is specifically configured to generate a sharing identifier corresponding to the electronic resource;
the device also comprises an establishing unit, a processing unit and a processing unit, wherein the establishing unit is used for establishing the corresponding relation between the sharing identification and the electronic resource and storing the corresponding relation;
the generation unit is specifically configured to obtain sharing access information of the electronic resource based on the sharing identifier.
Optionally, the device further comprises a second receiving unit, wherein the second receiving unit is used for receiving an electronic resource access request sent by a requester after the corresponding relation between the sharing identifier and the electronic resource is established and the corresponding relation is stored, and the electronic resource access request carries the sharing identifier;
the device also comprises a searching unit, wherein the searching unit is used for searching the electronic resource corresponding to the sharing identifier in the corresponding relation;
the device also comprises a second response unit, wherein the second response unit is used for returning the searched electronic resource to the requester.
In a seventh aspect, a computing device is provided, including at least one processor, and at least one memory, where the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of any of the electronic resource sharing methods described above.
In an eighth aspect, a computer readable medium is provided, storing a computer program executable by a computing device, which when run on the computing device, causes the computing device to perform the steps of any of the electronic resource sharing methods described above.
According to the electronic resource sharing method, device and storage medium provided by the embodiment of the invention, when the local electronic resource needs to be shared, the electronic resource sharing request can be sent to the network side server, the network side server returns the sharing access information corresponding to the shared electronic resource for the shared electronic resource, and the sharing of the local electronic resource is realized by sharing the sharing access information.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an implementation of an electronic resource sharing method implemented by a terminal according to an embodiment of the present invention;
FIG. 3 is a flow chart of a shared user accessing a shared electronic resource according to shared access information shared by the user according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating an embodiment of a method for sharing IDE project files according to the present invention;
FIG. 5 is a flowchart of an embodiment of a method for importing IDE project files;
fig. 6 is a schematic flow chart of an implementation of an electronic resource sharing method implemented by a server according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart of a server-side implementation of accessing shared electronic resources according to an embodiment of the present invention;
Fig. 8a is a schematic structural diagram of a first electronic resource sharing device implemented at a terminal side according to an embodiment of the present invention;
Fig. 8b is a schematic structural diagram of a second electronic resource sharing device implemented at a terminal according to an embodiment of the present invention;
Fig. 9 is a schematic structural diagram of an electronic resource sharing device implemented on a network side according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a computing device according to an embodiment of the invention.
Detailed Description
In order to simplify the operation flow of electronic resource sharing and improve the electronic resource sharing efficiency, the embodiment of the invention provides an electronic resource sharing method, an electronic resource sharing device and a storage medium.
It should be noted that, as used herein, reference to "a plurality of" or "a plurality of" means two or more. "and/or" describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate that there are three cases of a alone, a and B together, and B alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Furthermore, the terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein.
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are for illustration and explanation only, and not for limitation of the present invention, and embodiments of the present invention and features of the embodiments may be combined with each other without conflict.
As shown in fig. 1, which is a schematic view of an application scenario implemented in an embodiment of the present invention, a user 10 accesses a server 12 through a client installed in a terminal device 11, where the client may be a browser of a web page, or may be an application client installed in a terminal device, such as a mobile phone, a tablet computer, or the like.
The terminal device 11 and the server 12 are in communication connection through a network, which may be a local area network, a cellular network, a wide area network, or the like. The terminal device 11 may be a portable device (e.g., a mobile phone, a tablet, a notebook, etc.), a personal computer (PC, personal Computer), and the application server 12 may be any device capable of providing internet services.
The user 10 obtains a user name by registering with the server 12 by using the terminal device 11, the server 12 stores the user name and a user password set by the user 10 as authentication information after the user is successfully registered, when the subsequent user 10 logs in the server 12 again by using the terminal device 11, the server 12 returns a login page to the application client, the user inputs authentication information (namely the user name and the user password) on the login page displayed on the application client and submits the authentication information to the server 12, and the server 12 compares whether the authentication information submitted by the user is consistent with the authentication information stored by the user during the user registration so as to determine whether to allow the user to log in.
Fig. 2 is a schematic implementation flow chart of an electronic resource sharing method implemented by a terminal side according to an embodiment of the present invention, including the following steps:
S201, in response to a sharing operation triggered by the shared electronic resource in the integrated development environment IDE, an electronic resource sharing request is sent to a network side server.
S202, sharing access information of the electronic resources returned by the network side server is displayed.
S21, sending an electronic resource sharing request to a network side server.
In this step, when receiving an instruction for sharing electronic resources submitted by a user, a client installed in a terminal device sends an electronic resource sharing request to a network side server, where the electronic resource sharing request at least carries the shared electronic resources. In implementation, the electronic resource sharing request may further carry sharing information, for example, an electronic resource name and electronic resource description information. The electronic resource may include an IDE (integrated development environment) project file, and correspondingly, the electronic resource sharing request may also carry a project name and project description information of the IDE project file.
In the implementation, when a user needs to share the shared electronic resource, the user can fill in sharing information such as an electronic resource name, electronic resource description information and the like through an interactive interface provided by the client, submit an electronic resource sharing instruction to the client, acquire the shared electronic resource after receiving the electronic resource sharing instruction, and send an electronic resource sharing request to the network side server.
S22, receiving a sharing identifier corresponding to the shared electronic resource returned by the network side server.
In the implementation, after receiving an electronic resource sharing request sent by a terminal device, a network side server stores the received electronic resource and sharing information, generates a sharing identifier for the electronic resource, establishes a corresponding relationship among the electronic resource, the sharing information and the sharing identifier, and stores the corresponding relationship. As shown in table 1, it is a possible schematic representation of the correspondence between the electronic resource, the sharing information and the sharing identifier established by the network side server:
TABLE 1
Electronic resource Sharing information Sharing identification
E1 S1 ID1
E2 S2 ID2
...... ...... ......
After the server generates the sharing identifier, the server returns the generated sharing identifier to the terminal equipment.
S23, generating sharing access information corresponding to the electronic resource according to the received sharing identification.
In the implementation, after receiving the sharing identifier returned by the server, the terminal device generates and displays sharing access information according to the received sharing identifier, where the sharing access information may include at least one of a sharing link, a sharing image code, and a sharing text in a specific format, for example, the sharing image code may be a sharing two-dimensional code. In particular, the sharing link may be embedded into the web page and referred to as a clickable link, and the user may copy the obtained sharing access information and send the sharing access information to other users to share the shared electronic resource with other users.
As shown in fig. 3, which is a schematic flow chart of a shared user accessing a shared electronic resource according to sharing access information shared by the user, the method may include the following steps:
s31, receiving an electronic resource access instruction.
In implementation, the shared user inputs a sharing link or a sharing ID in the client interactive interface according to the obtained sharing access information and submits the sharing link or the sharing ID to the client so as to submit an electronic resource access instruction to the client.
S32, sending an electronic resource access request to the network side server aiming at the electronic resource access instruction.
The electronic resource access request carries a sharing identifier obtained from the sharing access information.
S33, receiving a response message returned by the network side server.
In the implementation, after receiving an electronic resource access request sent by a terminal device, the server searches an electronic resource corresponding to the sharing identifier according to a corresponding relation among the electronic resource stored in the sharing identifier, the sharing information and the sharing identifier carried in the electronic resource access request, and the terminal device returns the searched electronic resource, if the network side server stores the sharing information of the sharing identifier, the network side server returns the searched sharing information to the terminal device together while returning the electronic resource.
In order to better understand the embodiments of the present invention, a specific implementation procedure of the embodiments of the present invention will be described below by taking an electronic resource as an IDE project file as an example. In this embodiment, the client installed in the terminal device may be an IDE (integrated development environment).
FIG. 4 is a schematic flow chart of sharing IDE project files, comprising the following steps:
s41, the sharing user fills in sharing information in the IDE.
In particular embodiments, the shared information filled in by the user may include at least one of item names and item descriptions, as well as other item-related information, and the like.
S42, the sharing user initiates sharing.
The sharing user fills in the sharing information and initiates the sharing operation, namely submitting an IDE project file sharing instruction to the IDE.
S43, the IDE sends an IDE project file sharing request to the server.
In this step, after receiving the IDE project file sharing instruction submitted by the user, the IDE packages the shared IDE project file, and after the package is completed, uploads the IDE project file and the sharing information filled by the sharing user to the background server.
S44, the server stores the IDE project file and the sharing information, and generates a sharing ID corresponding to the IDE project file.
In this step, the server stores the IDE project file and the sharing information uploaded by the IDE, generates a sharing ID corresponding to the IDE project file, establishes a correspondence between the sharing ID (identifier) and the IDE project file and the sharing information, and stores the correspondence.
S45, the server returns the generated sharing ID to the IDE.
S46, the IDE generates a sharing link according to the sharing ID.
In this step, the IDE generates a sharing link according to the sharing ID and provides the sharing link to the sharing user, and the sharing user can share the shared IDE project file by other users by copying the sharing link.
S47, the IDE provides the generated sharing links for the sharing users.
In this step, the IDE may display the generated sharing link through the interactive interface.
FIG. 5 is a flow chart of a shared user importing a shared IDE project file into an IDE, which may include the following steps:
S51, the shared user fills in the shared access information in the IDE interactive interface.
In this step, the shared user obtains the shared access information shared by the shared user, for example, a shared link, a shared ID, a shared two-dimensional code, etc., where if the shared access information is the shared link, the user may click on the shared link after filling the shared link to trigger the IDE to obtain the shared IDE project file from the network side server.
S52, the IDE sends an IDE project file access request to the server.
In this step, the IDE may send an IDE project file access request to the server, where the IDE project file access request carries the sharing ID provided by the accessed user.
And S53, the server extracts the corresponding IDE project file and the sharing information according to the received sharing ID.
In this step, the server first searches the sharing information and the IDE project file corresponding to the sharing ID according to the stored correspondence between the sharing ID, the sharing information and the IDE project file, and extracts the corresponding IDE project file and the sharing information.
S54, the server returns the extracted sharing information and the IDE project file to the IDE.
S55, displaying the sharing information by the IDE.
In this step, the IDE may read the sharing information such as the project name and the project description information returned by the server, and display the sharing information to the sharing user.
S56, the shared user confirms that the IDE project file is imported.
In this step, the shared user submits an instruction for importing the IDE project file if it is confirmed that the IDE project file needs to be imported according to the sharing information displayed by the IDE.
S57, extracting the IDE project file by the IDE, creating the project and opening the project.
In particular, the user may click on the sharing link to automatically open the IDE import IDE project file. The IDE monitors a specific URL protocol, when a user clicks a sharing link in a browser or a chat window, the operating system automatically opens the IDE, and then the IDE automatically pulls corresponding sharing information from a server, displays and prompts the user to confirm importing.
In the method provided by the embodiment of the invention, the items created in the IDE can be shared in the IDE, when the sharing is initiated, the IDE can upload the item files to the server, the server generates the sharing identification for the uploaded item files, the IDE generates the sharing link according to the sharing identification returned by the server, other users can input the secondary link or click the link to import the shared item files in the IDE, thus the sharing users can conveniently and quickly share the item files to other users when the IDE edits the items, and special sharing items can be manufactured to display the dependency library user issuing, display function component writing, reproduction and development problems and the like.
In the implementation, when the shared user imports the IDE project file, the project name can be modified, other project initialization information can be filled in, and if the sharing link is clicked in the webpage, the process of importing the IDE into the project file can be automatically opened.
Based on the same inventive concept, the embodiment of the invention also provides an electronic resource sharing method implemented by the server side, and the principle of solving the problem is similar to that of the electronic resource sharing method implemented by the terminal side, so that the implementation of the electronic resource sharing method implemented by the server side can refer to the implementation of the method of the terminal side, and the repetition is omitted.
As shown in fig. 6, which is a schematic diagram of an implementation flow of an electronic resource sharing method implemented by a network side server, the method may include the following steps:
S61, receiving an electronic resource sharing request.
The received electronic resource sharing request carries the shared electronic resource.
S62, storing the received electronic resource and generating a sharing identification corresponding to the electronic resource.
S63, returning the generated sharing identification to the requester.
In the implementation, after storing the received electronic resource and generating the sharing identifier corresponding to the electronic resource, the method further comprises the following steps:
and establishing and storing the corresponding relation between the generated sharing identification and the electronic resource.
As shown in fig. 7, which is a schematic flow chart of accessing shared electronic resources implemented by a server side, the method includes the following steps:
71. an electronic resource access request is received.
The electronic resource access request carries a sharing identifier.
S72, searching the corresponding electronic resource in the corresponding relation between the established sharing identification and the electronic resource according to the sharing identification carried in the electronic resource access request.
S73, returning the searched electronic resource to the requester.
Based on the same inventive concept, the embodiments of the present invention further provide an electronic resource sharing device implemented on a terminal side and a server side, and because the principle of the device for solving the problem is similar to that of the electronic resource sharing method implemented on the terminal side and the server side, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
As shown in fig. 8a, a first electronic resource sharing device implemented at a terminal side according to an embodiment of the present invention includes:
A sending unit 81, configured to send an electronic resource sharing request to a network side server in response to a sharing operation triggered by the shared electronic resource in the integrated development environment IDE, so that the network side server obtains the electronic resource;
The first receiving unit 82 is configured to display sharing access information of the electronic resource returned by the network side server, where the sharing access information is used to present the electronic resource in the IDE.
Optionally, the apparatus further comprises a second receiving unit, where the second receiving unit is configured to:
Receiving an electronic resource sharing instruction aiming at a sharing operation triggered by a shared electronic resource in an integrated development environment IDE, wherein the electronic resource sharing instruction carries an electronic resource name and electronic resource description information of the electronic resource;
The first receiving unit 82 specifically is configured to:
and sending an electronic resource sharing request to the network side server based on the electronic resource name and the electronic resource description information, wherein the electronic resource sharing request at least carries electronic resources.
Optionally, the second receiving unit is specifically configured to:
And receiving an electronic resource sharing instruction according to filling operation of electronic resource names and electronic resource description information on an interactive interface in the integrated development environment IDE.
Optionally, the electronic resource includes an IDE project file, the electronic resource name includes a project name of the IDE project file, the electronic resource description information includes project description information of the IDE project file, and the electronic resource sharing request further carries the project name and the project description information.
Optionally, the shared access information includes at least one of a shared link, a shared image code, and a shared text in a specific format.
Fig. 8b is a schematic structural diagram of another electronic resource sharing device implemented at a terminal side, including:
A sending unit 802, configured to send, to a network side server, an electronic resource access request in response to a filling operation of sharing access information for a shared electronic resource in an integrated development environment IDE, where the sharing access information is used to present the electronic resource in the IDE;
the item creation unit is used for presenting the electronic resource in the IDE based on the response message returned by the network side server, wherein the response message carries the electronic resource searched according to the sharing access information.
Optionally, the device further comprises a first receiving unit 801, where the first receiving unit 801 is configured to:
receiving an electronic resource access instruction in response to filling operation of sharing identification of the electronic resource in the integrated development environment IDE;
the transmitting unit 802 specifically is configured to:
And sending an electronic resource access request to the network side server based on the sharing identification.
Optionally, the sending unit 802 is specifically configured to:
Responding to a clicking operation triggered by sharing access information of electronic resources on windows outside the IDE, acquiring the sharing access information, and starting the IDE;
And sending an electronic resource access request to the network side server based on the shared access information.
Optionally, the response message further carries an electronic resource name and electronic resource description information of the electronic resource searched according to the sharing access information;
The device further comprises a second receiving unit 803, wherein the second receiving unit 803 is configured to receive a response message returned by the network side server;
the project creation unit is specifically used for reading the electronic resource, and the electronic resource name and the electronic resource description information of the electronic resource based on the response message;
the project creation unit is specifically configured to display an electronic resource name and electronic resource description information of the electronic resource in the IDE, and present the electronic resource.
Optionally, the item creation unit is specifically configured to:
Receiving an import project instruction of the electronic resource in response to a confirmation operation triggered by the electronic resource name and the electronic resource description information of the electronic resource in the integrated development environment IDE;
Extracting electronic resources based on the instruction of the imported item;
Based on the electronic resource, an item is created in the IDE and the electronic resource is opened in the created item.
Optionally, the electronic resource includes an IDE project file, the electronic resource name includes a project name of the IDE project file, and the electronic resource description information includes project description information of the IDE project file.
Fig. 9 is a schematic structural diagram of an electronic resource sharing device implemented at a server side according to an embodiment of the present invention, where the electronic resource sharing device includes:
a first receiving unit 91, configured to receive an electronic resource sharing request sent by a requester to obtain a shared electronic resource, where the electronic resource sharing request is obtained in response to a sharing operation triggered by the shared electronic resource in an integrated development environment IDE;
a generating unit 93, configured to generate, based on the electronic resource, sharing access information of the electronic resource, where the sharing access information is used to present the electronic resource in the IDE;
the first response unit 94 is configured to return the shared access information to the requester.
Optionally, the device further comprises a storage unit 92, wherein the storage unit 92 is used for storing electronic resources;
the generating unit 93 is specifically configured to generate a sharing identifier corresponding to the electronic resource;
The device also comprises a building unit, a storage unit and a processing unit, wherein the building unit is used for building the corresponding relation between the sharing identification and the electronic resource and storing the corresponding relation;
the generating unit 93 is specifically configured to obtain sharing access information of the electronic resource based on the sharing identifier.
Optionally, the device further comprises a second receiving unit, wherein the second receiving unit is used for receiving an electronic resource access request sent by a requester after the corresponding relation between the sharing identifier and the electronic resource is established and the corresponding relation is stored, and the electronic resource access request carries the sharing identifier;
The device also comprises a searching unit, a searching unit and a searching unit, wherein the searching unit is used for searching the electronic resource corresponding to the sharing identifier in the corresponding relation;
The device also comprises a second response unit, wherein the second response unit is used for returning the searched electronic resource to the requester.
For convenience of description, the above parts are described as being functionally divided into modules (or units) respectively. Of course, the functions of each module (or unit) may be implemented in the same piece or pieces of software or hardware when implementing the present invention.
Having described the electronic resource sharing method and apparatus of an exemplary embodiment of the present invention, next, a computing apparatus according to another exemplary embodiment of the present invention is described.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects that may be referred to herein collectively as a "circuit," module "or" system.
In some possible implementations, a computing device according to the invention may include at least one processor, and at least one memory. Wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps in the electronic resource sharing method according to various exemplary embodiments of the present invention described above in this specification. For example, the processor may execute step S21 to send an electronic resource sharing request to the network side server, and step S22 to receive a sharing identifier corresponding to the shared electronic resource returned by the network side server, and step S23 to generate the sharing access information corresponding to the electronic resource according to the received sharing identifier.
A computing device 100 according to such an embodiment of the invention is described below with reference to fig. 10. The computing device 100 shown in FIG. 10 is only one example and should not be taken as limiting the functionality and scope of use of embodiments of the invention.
As shown in fig. 10, the computing apparatus 100 is embodied in the form of a general purpose computing device. The components of computing device 100 may include, but are not limited to, at least one processor 101 described above, at least one memory 102 described above, and a bus 103 that connects the various system components, including memory 102 and processor 101.
Bus 103 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, and a local bus using any of a variety of bus architectures.
Memory 102 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 1021 and/or cache memory 1022, and may further include Read Only Memory (ROM) 1023.
Memory 102 may also include program/utility 1025 having a set (at least one) of program modules 1024, such program modules 1024 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The computing apparatus 100 may also communicate with one or more external devices 104 (e.g., keyboard, pointing device, etc.), one or more devices that enable a user to interact with the computing apparatus 100, and/or any devices (e.g., routers, modems, etc.) that enable the computing apparatus 100 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 105. Moreover, computing device 100 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 106. As shown, network adapter 106 communicates with other modules for computing device 100 over bus 103. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computing apparatus 100, including, but not limited to, microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
In some possible embodiments, aspects of the electronic resource sharing method provided by the present invention may also be implemented in a form of a program product, which includes program code, where the program code is configured to cause a computing device to perform steps in the electronic resource sharing method according to the various exemplary embodiments of the present invention described in the present specification when the program product is run on the computing device, for example, the computer device may perform step S21, send an electronic resource sharing request to a network side server, and step S22, receive a sharing identifier corresponding to the shared electronic resource returned by the network side server, and generate, according to the received sharing identifier, sharing access information corresponding to the electronic resource in step S23.
The program product may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for electronic credential generation and verification and key control of embodiments of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code and may run on a computing device. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the elements described above may be embodied in one element in accordance with embodiments of the present invention. Conversely, the features and functions of one unit described above may be further divided into a plurality of units to be embodied.
Furthermore, although the operations of the methods of the present invention are depicted in the drawings in a particular order, this is not required or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (17)

1.一种电子资源分享方法,其特征在于,包括:1. An electronic resource sharing method, comprising: 响应于在集成开发环境IDE中,针对被分享的电子资源触发的分享操作,接收电子资源分享指令,其中,所述电子资源包括IDE项目文件;所述电子资源分享指令中携带有所述IDE项目文件的项目名称和项目描述信息;In response to a sharing operation triggered for a shared electronic resource in an integrated development environment (IDE), an electronic resource sharing instruction is received, wherein the electronic resource includes an IDE project file; the electronic resource sharing instruction carries a project name and project description information of the IDE project file; 向网络侧服务器发送电子资源分享请求,以使所述网络侧服务器获得所述电子资源;其中,所述电子资源分享请求中携带有所述电子资源,以及所述项目名称和所述项目描述信息;Sending an electronic resource sharing request to a network-side server so that the network-side server obtains the electronic resource; wherein the electronic resource sharing request carries the electronic resource, the project name, and the project description information; 显示所述网络侧服务器返回的所述电子资源的分享访问信息,其中,所述分享访问信息用于在所述IDE中导入并打开所述电子资源。The shared access information of the electronic resource returned by the network-side server is displayed, wherein the shared access information is used to import and open the electronic resource in the IDE. 2.如权利要求1所述的方法,其特征在于,所述响应于在集成开发环境IDE中,针对被分享的电子资源触发的分享操作,接收电子资源分享指令,包括:2. The method according to claim 1, wherein the receiving of the electronic resource sharing instruction in response to a sharing operation triggered in an integrated development environment (IDE) for the electronic resource to be shared comprises: 响应于在集成开发环境IDE中的交互界面上,针对所述电子资源名称和所述电子资源描述信息的填写操作,接收所述电子资源分享指令。In response to a filling operation for the electronic resource name and the electronic resource description information on an interactive interface in an integrated development environment IDE, the electronic resource sharing instruction is received. 3.如权利要求1或2所述的方法,其特征在于,所述分享访问信息包括以下至少一项:分享链接、分享图像码和特定格式的分享文本。3. The method according to claim 1 or 2, characterized in that the shared access information includes at least one of the following: a shared link, a shared image code, and a shared text in a specific format. 4.一种电子资源分享方法,其特征在于,包括:4. An electronic resource sharing method, characterized by comprising: 响应于在集成开发环境IDE中,针对被分享的电子资源的分享访问信息的填写操作,向网络侧服务器发送电子资源访问请求,其中,所述电子资源包括IDE项目文件;所述分享访问信息是在响应于在所述IDE中,针对所述电子资源触发的分享操作,基于所述IDE项目文件的项目名称和项目描述信息,向所述网络侧服务器发送电子资源分享请求后,所述网络侧服务器返回的;In response to a filling operation of sharing access information for a shared electronic resource in an integrated development environment (IDE), an electronic resource access request is sent to a network-side server, wherein the electronic resource includes an IDE project file; the sharing access information is returned by the network-side server after the electronic resource sharing request is sent to the network-side server in response to a sharing operation triggered for the electronic resource in the IDE based on the project name and project description information of the IDE project file; 基于所述网络侧服务器返回的响应消息,在所述IDE中导入并打开所述电子资源,其中,所述响应消息中携带有根据所述分享访问信息查找到的所述电子资源。Based on the response message returned by the network-side server, the electronic resource is imported and opened in the IDE, wherein the response message carries the electronic resource found according to the shared access information. 5.如权利要求4所述的方法,其特征在于,所述分享访问信息包含所述电子资源对应的分享标识;5. The method according to claim 4, wherein the shared access information includes a sharing identifier corresponding to the electronic resource; 所述响应于在集成开发环境IDE中,针对被分享的电子资源的分享访问信息的填写操作,向网络侧服务器发送电子资源访问请求,包括:The step of sending an electronic resource access request to a network-side server in response to a filling operation of sharing access information of a shared electronic resource in an integrated development environment IDE includes: 响应于在集成开发环境IDE中,针对所述电子资源的分享标识的填写操作,接收电子资源访问指令;In response to a filling operation for a sharing identifier of the electronic resource in an integrated development environment IDE, receiving an electronic resource access instruction; 基于所述分享标识,向网络侧服务器发送所述电子资源访问请求。Based on the sharing identifier, the electronic resource access request is sent to a network-side server. 6.如权利要求4所述的方法,其特征在于,所述响应于在集成开发环境IDE中,针对被分享的电子资源的分享访问信息的填写操作,向网络侧服务器发送电子资源访问请求,包括:6. The method according to claim 4, wherein in response to the operation of filling in the sharing access information of the shared electronic resource in the integrated development environment IDE, sending the electronic resource access request to the network-side server comprises: 响应于在所述IDE以外的窗口,针对所述电子资源的分享访问信息触发的点击操作时,获取所述分享访问信息,并启动所述IDE;In response to a click operation triggered by the shared access information of the electronic resource in a window other than the IDE, acquiring the shared access information and starting the IDE; 基于所述分享访问信息,向网络侧服务器发送所述电子资源访问请求。Based on the shared access information, the electronic resource access request is sent to a network-side server. 7.如权利要求4~6任一项所述的方法,其特征在于,所述响应消息中还携带有根据所述分享访问信息查找到的所述电子资源的电子资源名称和电子资源描述信息;7. The method according to any one of claims 4 to 6, characterized in that the response message also carries the electronic resource name and electronic resource description information of the electronic resource found according to the shared access information; 所述基于所述网络侧服务器返回的响应消息,在所述IDE中导入并打开所述电子资源,包括:The step of importing and opening the electronic resource in the IDE based on the response message returned by the network-side server includes: 接收所述网络侧服务器返回的响应消息;Receiving a response message returned by the network-side server; 基于所述响应消息,读取所述电子资源,以及所述电子资源的电子资源名称和电子资源描述信息;Based on the response message, read the electronic resource, as well as the electronic resource name and electronic resource description information of the electronic resource; 在所述IDE中,显示所述电子资源的电子资源名称和电子资源描述信息,以及导入并打开所述电子资源。In the IDE, the electronic resource name and electronic resource description information of the electronic resource are displayed, and the electronic resource is imported and opened. 8.如权利要求7所述的方法,其特征在于,所述在所述IDE中,显示所述电子资源的电子资源名称和电子资源描述信息,以及导入并打开所述电子资源,包括:8. The method according to claim 7, wherein displaying the electronic resource name and electronic resource description information of the electronic resource in the IDE, and importing and opening the electronic resource comprises: 响应于在集成开发环境IDE中,针对所述电子资源的电子资源名称和电子资源描述信息触发的确认操作,接收所述电子资源的导入项目指令;In response to a confirmation operation triggered in an integrated development environment IDE for the electronic resource name and electronic resource description information of the electronic resource, receiving an import project instruction for the electronic resource; 基于所述导入项目指令,提取所述电子资源;extracting the electronic resources based on the import project instruction; 基于所述电子资源,在所述IDE中创建项目,并在创建的项目中打开所述电子资源。Based on the electronic resource, a project is created in the IDE, and the electronic resource is opened in the created project. 9.如权利要求7所述的方法,其特征在于,所述电子资源名称包括所述IDE项目文件的项目名称,所述电子资源描述信息包括所述IDE项目文件的项目描述信息。9. The method according to claim 7, wherein the electronic resource name comprises a project name of the IDE project file, and the electronic resource description information comprises project description information of the IDE project file. 10.一种电子资源分享方法,其特征在于,包括:10. An electronic resource sharing method, comprising: 接收请求方发送的电子资源分享请求,以获得被分享的电子资源,其中,所述电子资源分享请求是在响应于在集成开发环境IDE中,针对被分享的电子资源触发的分享操作接收电子资源分享指令后获得的;所述电子资源包括IDE项目文件;所述电子资源分享指令中携带有所述IDE项目文件的项目名称和项目描述信息;所述电子资源分享请求中携带有所述电子资源,以及所述项目名称和所述项目描述信息;Receive an electronic resource sharing request sent by a requester to obtain the shared electronic resource, wherein the electronic resource sharing request is obtained after receiving an electronic resource sharing instruction in response to a sharing operation triggered for the shared electronic resource in an integrated development environment IDE; the electronic resource includes an IDE project file; the electronic resource sharing instruction carries the project name and project description information of the IDE project file; the electronic resource sharing request carries the electronic resource, as well as the project name and the project description information; 基于所述电子资源,生成所述电子资源的分享访问信息,其中,所述分享访问信息用于在所述IDE中导入并打开所述电子资源;Based on the electronic resource, generating shared access information of the electronic resource, wherein the shared access information is used to import and open the electronic resource in the IDE; 向所述请求方返回所述分享访问信息。The shared access information is returned to the requesting party. 11.如权利要求10所述的方法,其特征在于,所述基于所述电子资源,生成所述电子资源的分享访问信息,包括:11. The method according to claim 10, wherein generating the shared access information of the electronic resource based on the electronic resource comprises: 存储所述电子资源,并生成所述电子资源对应的分享标识;Storing the electronic resource and generating a sharing identifier corresponding to the electronic resource; 建立所述分享标识与所述电子资源之间的对应关系,并存储所述对应关系;Establishing a correspondence between the sharing identifier and the electronic resource, and storing the correspondence; 基于所述分享标识,获得所述电子资源的分享访问信息。Based on the sharing identifier, sharing access information of the electronic resource is obtained. 12.如权利要求11所述的方法,其特征在于,在所述建立所述分享标识与所述电子资源之间的对应关系,并存储所述对应关系之后,还包括:12. The method according to claim 11, characterized in that after establishing the correspondence between the sharing identifier and the electronic resource and storing the correspondence, it further comprises: 接收请求方发送的电子资源访问请求,其中,所述电子资源访问请求中携带有所述分享标识;Receiving an electronic resource access request sent by a requester, wherein the electronic resource access request carries the sharing identifier; 在所述对应关系中,查找所述分享标识对应的所述电子资源;In the corresponding relationship, searching for the electronic resource corresponding to the sharing identifier; 向所述请求方返回查找到的所述电子资源。The found electronic resource is returned to the requester. 13.一种电子资源分享装置,其特征在于,包括:13. An electronic resource sharing device, comprising: 第一接收单元:用于响应于在集成开发环境IDE中,针对被分享的电子资源触发的分享操作,接收电子资源分享指令,其中,所述电子资源包括IDE项目文件;所述电子资源分享指令中携带有所述IDE项目文件的项目名称和项目描述信息;A first receiving unit: configured to receive an electronic resource sharing instruction in response to a sharing operation triggered for a shared electronic resource in an integrated development environment IDE, wherein the electronic resource includes an IDE project file; the electronic resource sharing instruction carries a project name and project description information of the IDE project file; 发送单元:用于向网络侧服务器发送电子资源分享请求,以使所述网络侧服务器获得所述电子资源;其中,所述电子资源分享请求中携带有所述电子资源,以及所述项目名称和所述项目描述信息;A sending unit: used for sending an electronic resource sharing request to a network-side server, so that the network-side server obtains the electronic resource; wherein the electronic resource sharing request carries the electronic resource, the project name and the project description information; 第一接收单元:用于显示所述网络侧服务器返回的所述电子资源的分享访问信息,其中,所述分享访问信息用于在所述IDE中呈现所述电子资源。A first receiving unit is used to display the shared access information of the electronic resource returned by the network-side server, wherein the shared access information is used to present the electronic resource in the IDE. 14.一种电子资源分享装置,其特征在于,包括:14. An electronic resource sharing device, comprising: 发送单元,用于响应于在集成开发环境IDE中,针对被分享的电子资源的分享访问信息的填写操作,向网络侧服务器发送电子资源访问请求,其中,所述电子资源包括IDE项目文件;所述分享访问信息是在响应于在所述IDE中,针对所述电子资源触发的分享操作,基于所述IDE项目文件的项目名称和项目描述信息,向所述网络侧服务器发送电子资源分享请求后,所述网络侧服务器返回的;A sending unit, configured to send an electronic resource access request to a network-side server in response to a filling operation of sharing access information of a shared electronic resource in an integrated development environment IDE, wherein the electronic resource includes an IDE project file; the sharing access information is returned by the network-side server after sending the electronic resource sharing request to the network-side server in response to a sharing operation triggered in the IDE for the electronic resource based on a project name and project description information of the IDE project file; 项目创建单元,用于基于所述网络侧服务器返回的响应消息,在所述IDE中导入并打开所述电子资源,其中,所述响应消息中携带有根据所述分享访问信息查找到的所述电子资源。A project creation unit is used to import and open the electronic resource in the IDE based on a response message returned by the network-side server, wherein the response message carries the electronic resource found according to the shared access information. 15.一种电子资源分享装置,其特征在于,包括:15. An electronic resource sharing device, comprising: 第一接收单元:用于接收请求方发送的电子资源分享请求,以获得被分享的电子资源,其中,所述电子资源分享请求是在响应于在集成开发环境IDE中,针对被分享的电子资源触发的分享操作接收电子资源分享指令后获得的;所述电子资源包括IDE项目文件;所述电子资源分享指令中携带有所述IDE项目文件的项目名称和项目描述信息;所述电子资源分享请求中携带有所述电子资源,以及所述项目名称和所述项目描述信息;A first receiving unit: used for receiving an electronic resource sharing request sent by a requester to obtain the shared electronic resource, wherein the electronic resource sharing request is obtained after receiving an electronic resource sharing instruction in response to a sharing operation triggered for the shared electronic resource in an integrated development environment IDE; the electronic resource includes an IDE project file; the electronic resource sharing instruction carries the project name and project description information of the IDE project file; the electronic resource sharing request carries the electronic resource, as well as the project name and the project description information; 生成单元:用于基于所述电子资源,生成所述电子资源的分享访问信息,其中,所述分享访问信息用于在所述IDE中导入并打开所述电子资源;A generating unit: used for generating sharing access information of the electronic resource based on the electronic resource, wherein the sharing access information is used for importing and opening the electronic resource in the IDE; 第一响应单元:用于向所述请求方返回所述分享访问信息。The first responding unit is configured to return the shared access information to the requesting party. 16.一种计算装置,其特征在于,包括至少一个处理器、以及至少一个存储器,其中,所述存储器存储有计算机程序,当所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1~12任一项所述的方法。16. A computing device, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 12. 17.一种计算机可读介质,其特征在于,其存储有可由计算装置执行的计算机程序,当所述计算机程序在所述计算装置上运行时,使得所述计算装置执行如权利要求1~12任一项所述的方法。17. A computer-readable medium, characterized in that it stores a computer program executable by a computing device, and when the computer program runs on the computing device, the computing device executes the method according to any one of claims 1 to 12.
CN202210472766.4A 2018-06-28 2018-06-28 Electronic resource sharing method, device and storage medium Active CN114816499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210472766.4A CN114816499B (en) 2018-06-28 2018-06-28 Electronic resource sharing method, device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210472766.4A CN114816499B (en) 2018-06-28 2018-06-28 Electronic resource sharing method, device and storage medium
CN201810688500.7A CN108984202B (en) 2018-06-28 2018-06-28 A kind of electronic resource sharing method, device and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810688500.7A Division CN108984202B (en) 2018-06-28 2018-06-28 A kind of electronic resource sharing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114816499A CN114816499A (en) 2022-07-29
CN114816499B true CN114816499B (en) 2025-06-03

Family

ID=64539353

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210472766.4A Active CN114816499B (en) 2018-06-28 2018-06-28 Electronic resource sharing method, device and storage medium
CN201810688500.7A Active CN108984202B (en) 2018-06-28 2018-06-28 A kind of electronic resource sharing method, device and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810688500.7A Active CN108984202B (en) 2018-06-28 2018-06-28 A kind of electronic resource sharing method, device and storage medium

Country Status (1)

Country Link
CN (2) CN114816499B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598381B (en) * 2019-09-16 2022-04-05 北京字节跳动网络技术有限公司 Data access method, device, equipment and storage medium
CN112328564A (en) * 2020-09-25 2021-02-05 北京淇瑀信息科技有限公司 Special resource sharing method and device and electronic equipment
CN114020195B (en) * 2021-10-12 2024-04-26 武汉夜莺科技有限公司 Method and device for processing speaking and operation information and storage medium
CN114201207B (en) * 2021-11-22 2024-08-20 北京达佳互联信息技术有限公司 Resource synchronization method and device, electronic equipment and storage medium
CN114363324B (en) * 2022-01-11 2023-11-24 北京高途云集教育科技有限公司 File sharing method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297447A (en) * 2012-02-24 2013-09-11 腾讯科技(深圳)有限公司 Resource sharing method and resource sharing equipment
CN106951270A (en) * 2017-04-06 2017-07-14 腾讯科技(深圳)有限公司 A kind of code process method, system and server

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104830A (en) * 2010-09-16 2011-06-22 厦门雅迅网络股份有限公司 Method for fast sharing positional information
CN102098345A (en) * 2011-02-22 2011-06-15 深圳市同洲电子股份有限公司 Resource sharing method and service providing system
CN102638564A (en) * 2012-02-16 2012-08-15 深圳市同洲视讯传媒有限公司 Document sharing device, document sharing terminal and document sharing method
US9076006B1 (en) * 2012-11-30 2015-07-07 Microstrategy Incorporated Sharing electronic resources
US20150089612A1 (en) * 2013-09-20 2015-03-26 Institute For Information Industry Cloud storage server and management method thereof
CN105100141B (en) * 2014-05-04 2019-05-24 腾讯科技(深圳)有限公司 Multimedia content network sharing method, apparatus and system
CN106961379A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 resource sharing method, device and system
CN106997298B (en) * 2016-01-22 2021-08-06 菜鸟智能物流控股有限公司 Application resource acquisition method and device
CN106657305B (en) * 2016-12-12 2017-09-12 掌阅科技股份有限公司 Data sharing method, device, terminal device and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297447A (en) * 2012-02-24 2013-09-11 腾讯科技(深圳)有限公司 Resource sharing method and resource sharing equipment
CN106951270A (en) * 2017-04-06 2017-07-14 腾讯科技(深圳)有限公司 A kind of code process method, system and server

Also Published As

Publication number Publication date
CN108984202B (en) 2022-04-29
CN114816499A (en) 2022-07-29
CN108984202A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN114816499B (en) Electronic resource sharing method, device and storage medium
US9804862B2 (en) Translatable texts identification in in-context localization utilizing pseudo-language and an external server
CN111694561B (en) Interface management method, device, equipment and storage medium
CN106874471B (en) Information push method and device
JP7483929B2 (en) Method and apparatus for evaluating jointly trained models - Patents.com
CN110858172A (en) Automatic test code generation method and device
CN111935227A (en) Method for uploading file through browser, browser and electronic equipment
US20180024848A1 (en) Translatable Texts Identification in In-Context Localization Utilizing Pseudo-Language and an External Server
CN109302461A (en) Information displaying, processing method, medium, system and calculating equipment
CN113806401B (en) Data stream processing
WO2010127551A1 (en) Adaptiing method, adapter and adapter system for network service communication
CN102567400B (en) Method for realizing Web visit and Web server
US20250348622A1 (en) Systematic identification and masking of private data for replaying user sessions
CN114036439A (en) Website construction method, device, medium and electronic equipment
CN112100534B (en) Information processing method, device, medium and electronic equipment in page sharing
RU2662405C2 (en) Certification documents automatic generation
JP2021500650A (en) Search engine optimization techniques
US20060155807A1 (en) System and method for creating web services from an existing web site
CN117850771A (en) Business application development platform, method and storage medium for web service
CN112581007B (en) A process information processing method, device and system
CN113761419B (en) Topology information display method and device, electronic equipment and storage medium
CN112486460A (en) Method, system, device and medium for automatically importing interface documentation
CN117235400B (en) A unified multi-platform portal system based on Kafka technology
CN107341237A (en) Method and apparatus for processing information
CN109358973B (en) Information processing method, system, medium, and computing device

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