CN112783834A - Online transfer method and device for business resources and electronic equipment - Google Patents

Online transfer method and device for business resources and electronic equipment Download PDF

Info

Publication number
CN112783834A
CN112783834A CN202110110025.7A CN202110110025A CN112783834A CN 112783834 A CN112783834 A CN 112783834A CN 202110110025 A CN202110110025 A CN 202110110025A CN 112783834 A CN112783834 A CN 112783834A
Authority
CN
China
Prior art keywords
service
resources
position information
service resources
storage space
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.)
Granted
Application number
CN202110110025.7A
Other languages
Chinese (zh)
Other versions
CN112783834B (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.)
Shanghai Qiyue Information Technology Co Ltd
Original Assignee
Shanghai Qiyue 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 Shanghai Qiyue Information Technology Co Ltd filed Critical Shanghai Qiyue Information Technology Co Ltd
Priority to CN202110110025.7A priority Critical patent/CN112783834B/en
Publication of CN112783834A publication Critical patent/CN112783834A/en
Application granted granted Critical
Publication of CN112783834B publication Critical patent/CN112783834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the specification provides an online transferring method of service resources, which sets a service resource storage space locally, the method is used for storing the same type of service resources used in the service activities and the local position information of the service resources, when the service resources are uploaded, a large amount of traversal under each local folder is not needed, only the service resources are needed to be obtained from a centralized storage space, whether the service resources stored in the service storage space are used in the service is scanned, if the service resources are scanned, the service resource is acquired and sent to the server, the position information of the service resource at the server is acquired, and establishing a mapping relation between the position information of the service resource in the server and the local position information, and replacing the local position information of the service resource in the service with the position information of the service resource in the server based on the mapping relation. Service resources are automatically identified and saved in a manner of scanning the service and replacing the location information.

Description

Online transfer method and device for business resources and electronic equipment
Technical Field
The present application relates to the field of internet, and in particular, to a method and an apparatus for online transferring of service resources, and an electronic device.
Background
In business activities, local business resources are often needed to be used, and currently, after business activities are performed, the business resources used in the business need to be manually uploaded to a server to support the activities to generate business contents.
However, the on-line method of the resource is inefficient, and a new method is needed to improve the processing efficiency of the service resource.
Disclosure of Invention
The embodiment of the specification provides a method and a device for online transferring of service resources and electronic equipment, which are used for improving processing efficiency.
An embodiment of the present specification provides an online transfer method for a service resource, including:
setting a service resource storage space locally for storing the same type of service resources used in service activities and local position information of the service resources;
scanning whether the service resources stored in the service storage space are used in the service;
when the service is scanned to use the service resources stored in the service storage space, acquiring the service resources, sending the service resources to a server, acquiring the position information of the service resources in the server, and establishing a mapping relation between the position information of the service resources in the server and the local position information;
and replacing the local position information of the service resource in the service with the position information of the service resource in the server based on the mapping relation.
Optionally, the method further comprises:
and generating abstract information for the service resources by using an abstract algorithm, and naming the service resources based on the abstract information.
Optionally, the method further comprises:
and sending the content of the service to a server for online.
Optionally, the scanning whether to use the service resource stored in the service storage space in the service includes:
and when the contents of the service are packaged, scanning whether the service resources stored in the service storage space are used in the service.
Optionally, the method further comprises:
and prompting the transfer progress of each service resource used in the service.
Optionally, the method further comprises:
and deleting the corresponding service resources in the service storage space based on the service resources which are transferred.
Optionally, the method further comprises:
and monitoring an event using local service resources in the service, and redundantly storing the used local service resources in the service resource storage space.
Optionally, the service resource is a picture.
An embodiment of this specification further provides an online transfer device for service resources, including:
the local storage module is used for locally setting a service resource storage space and storing the service resources of the same type used in the service activities and the local position information of the service resources;
the scanning module is used for scanning whether the service resources stored in the service storage space are used in the service;
the unloading module is used for acquiring the service resources when the service resources stored in the service storage space are scanned to be used by the service, sending the service resources to the server, acquiring the position information of the service resources in the server and establishing the mapping relation between the position information of the service resources in the server and the local position information;
and replacing the local position information of the service resource in the service with the position information of the service resource in the server based on the mapping relation.
Optionally, the unloading module is further configured to:
and generating abstract information for the service resources by using an abstract algorithm, and naming the service resources based on the abstract information.
Optionally, the unloading module is further configured to:
and sending the content of the service to a server for online.
Optionally, the scanning whether to use the service resource stored in the service storage space in the service includes:
and when the contents of the service are packaged, scanning whether the service resources stored in the service storage space are used in the service.
Optionally, the unloading module is further configured to:
and prompting the transfer progress of each service resource used in the service.
Optionally, the unloading module is further configured to:
and deleting the corresponding service resources in the service storage space based on the service resources which are transferred.
Optionally, the unloading module is further configured to:
and monitoring an event using local service resources in the service, and redundantly storing the used local service resources in the service resource storage space.
Optionally, the service resource is a picture.
An embodiment of the present specification further provides an electronic device, where the electronic device includes:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform any of the methods described above.
The present specification also provides a computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement any of the above methods.
Various technical solutions provided by the embodiments of the present specification locally set the service resource storage space, the method is used for storing the same type of service resources used in the service activities and the local position information of the service resources, when the service resources are uploaded, a large amount of traversal under each local folder is not needed, only the service resources are needed to be obtained from a centralized storage space, whether the service resources stored in the service storage space are used in the service is scanned, if the service resources are scanned, the service resource is acquired and sent to the server, the position information of the service resource at the server is acquired, and establishing a mapping relation between the position information of the service resource in the server and the local position information, and replacing the local position information of the service resource in the service with the position information of the service resource in the server based on the mapping relation. Service resources are automatically identified and saved in a manner of scanning the service and replacing the location information.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram illustrating a principle of a method for online unloading of service resources according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a service resource online dump device provided in an embodiment of the present specification;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The term "and/or" and/or "includes all combinations of any one or more of the associated listed items.
Fig. 1 is a schematic diagram of a service resource online unloading method provided in an embodiment of the present disclosure, where the method may include:
s101: and setting a service resource storage space locally for storing the service resources of the same type used in the service activities and the local position information of the service resources.
In this embodiment of the present specification, a service may refer to a development service, and in the development service, service resources such as pictures are often required to be used, and for convenience of management, a storage space may be created to be used for specially storing the service resources used in a service activity.
Since the local resources are often stored in many folders, which usually store more than one type of resource, in this case, if some type of business resource needs to be uploaded, traversal search needs to be performed in these folders. Therefore, if the resources to be uploaded are placed in one storage space, the process of traversing a plurality of folders can be reduced, and the efficiency is further improved.
In an embodiment of the present specification, the method may further include:
and monitoring an event using local service resources in the service, and redundantly storing the used local service resources in the service resource storage space.
In an actual application scenario, it can be shown that a user may use the resource a in the folder 1 during development, and in order to avoid the need to search the resource from the folder 1 during subsequent uploading, the user may directly monitor during business activities, directly copy the resource a to the set business resource storage space after monitoring that the user uses the resource a in the folder 1, and then directly obtain the business resource used by the user from the business resource storage space.
Therefore, after a set of development processes is completed, the same type of service resources used in the development are automatically and intensively stored in the service resource storage space.
Then, the service content can be packaged, for example, the developed code is packaged.
In addition, the same type of service resources are stored in the same service resource storage space, so that the resources are convenient to manage, and when the resources are processed, the resources can be uniformly processed as a whole.
Therefore, the service resource storage space can be set locally for different types of service resources.
S102: and scanning whether the service resources stored in the service storage space are used in the service.
In this embodiment of the present specification, the scanning whether to use the service resource stored in the service storage space in the service may include:
and when the contents of the service are packaged, scanning whether the service resources stored in the service storage space are used in the service.
In an embodiment of the present specification, the method may further include:
and configuring a scanning rule for scanning the used service resource information in the service content.
Specifically, the service resource information may include location information of the service resource and a service resource name.
Specifically, the location information of the service resource here may be location information of a set service resource storage space.
In a scenario of actual application, a code developed by a user has a "local address a/name b", where the address a is a set address of a service resource storage space, and at this time, it can be determined through scanning that the user uses a service resource stored in the service storage space in a process of developing the code.
S103: when the service resource stored in the service storage space is scanned to be used by the service, the service resource is obtained and sent to the server, the position information of the service resource in the server is obtained, and the mapping relation between the position information of the service resource in the server and the local position information is established.
The acquiring of the service resource may be acquiring the service resource from a service resource storage space according to the scanned location information of the service resource and the service resource name.
Since the same type of service resources are stored in the same set service resource storage space in a centralized manner, there is no need to search in multiple storage spaces.
After the service resource is sent to the server, the position information of the service resource in the server can be directly calculated.
After the position information of the service resource in the server is calculated, the position information carrying the service resource identifier is returned to the front-end system.
Therefore, the front-end system can establish the mapping relation between the position information of the service resource in the server and the local position information according to the service resource identifier.
In consideration of the fact that after the business resources are uploaded to the server, retrieval needs to be carried out in the server when the business resources are called subsequently, and in order to avoid retrieval errors caused by the fact that the business resources are the same in name, the uploaded business resources can be renamed uniformly.
Specifically, because the digital abstract of the information can uniquely identify the information, in order to ensure that the names of the service resources are not repeated, the uploaded service resources can be named by using a method for generating the digital abstract.
Therefore, in the embodiment of the present specification, the method may further include:
and generating abstract information for the service resources by using an abstract algorithm, and naming the service resources based on the abstract information.
Specific digital summarization algorithms, known in the art, are not described in detail herein.
S104: and replacing the local position information of the service resource in the service with the position information of the service resource in the server based on the mapping relation.
The method comprises the steps of setting a service resource storage space locally, wherein the service resource storage space is used for storing service resources of the same type used in service activities and local position information of the service resources, when the service resources are uploaded, a large number of traversals are not needed under each local folder, only the service resources are needed to be obtained from a centralized storage space, whether the service resources stored in the service storage space are used in the service is scanned, if the service resources are scanned, the service resources are obtained and sent to a server, the position information of the service resources in the server is obtained, the mapping relation between the position information of the service resources in the server and the local position information is established, and the local position information of the service resources in the service is replaced by the position information of the service resources in the server based on the mapping relation. Service resources are automatically identified and saved in a manner of scanning the service and replacing the location information.
Replacing the local location information of the service resource in the service with the location information of the service resource at the server based on the mapping relationship may include:
and replacing the local position information of the service resource in the content of the service with the position information of the service resource in the server.
In practical application, this may represent the service resource local location information contained in the code developed for replacement.
In this embodiment of the present specification, the content of the service may be a developed front-end program, where the front-end program needs to be uploaded to a server for downloading and use by a user terminal, and therefore, optionally, the method may further include:
and sending the content of the service to a server for online.
In an embodiment of the present specification, the method may further include:
and prompting the transfer progress of each service resource used in the service.
In an embodiment of the present specification, the method may further include:
and deleting the corresponding service resources in the service storage space based on the service resources which are transferred.
Optionally, the service resource is a picture.
In an application scenario, a user creates a storage space for storing pictures in a centralized manner, then code development is carried out, the pictures in the storage space are used in the process, or when the user uses a certain picture, the picture is directly stored in the storage space in a redundant manner, after the development is finished, the user packs service contents generated by the development and executes a scanning instruction at the same time to automatically scan used resources, and if the code is scanned to have the picture in the storage space, the picture is acquired from the storage space, uploaded to a server and automatically replaced position information.
Therefore, the user can trigger the whole flow instruction for transferring the picture only by packaging operation, automatically complete the process of transferring the picture to the server, and replace the local position information of the picture in the developed code with the address of the picture in the server, so that the developed code is operated, and the picture can be called from the server.
Fig. 2 is a schematic structural diagram of a service resource online dump device provided in an embodiment of this specification, where the device may include:
a local storage module 201, configured to set a service resource storage space locally, configured to store service resources of the same type used in a service activity and local location information of the service resources;
a scanning module 202, configured to scan whether the service resource stored in the service storage space is used in the service;
the dump module 203 is used for acquiring the service resources when the service resources stored in the service storage space are scanned to be used by the service, sending the service resources to the server, acquiring the position information of the service resources on the server, and establishing the mapping relation between the position information of the service resources on the server and the local position information;
and replacing the local position information of the service resource in the service with the position information of the service resource in the server based on the mapping relation.
After the position information of the service resource in the server is calculated, the service resource is returned to the front-end system with the service resource identifier.
Therefore, the front-end system can establish the mapping relation between the position information of the service resource in the server and the local position information according to the service resource identifier.
In consideration of the fact that after the service resources are uploaded to the server, retrieval needs to be carried out in the server when the service resources are called subsequently, and in order to avoid retrieval errors caused by the fact that the names of the service resources are the same, the uploaded service resources can be renamed in the same way.
Specifically, because the digital abstract of the information can uniquely identify the corresponding information, in order to ensure that the names of the service resources are not repeated, the uploaded service resources can be named by using a digital abstract method.
Therefore, the unloading module 203 can also be used for:
and generating abstract information for the service resources by using an abstract algorithm, and naming the service resources based on the abstract information.
Optionally, the unloading module 203 is further configured to:
and sending the content of the service to a server for online.
Optionally, the scanning whether to use the service resource stored in the service storage space in the service includes:
and when the contents of the service are packaged, scanning whether the service resources stored in the service storage space are used in the service.
Optionally, the unloading module 203 is further configured to:
and prompting the transfer progress of each service resource used in the service.
Optionally, the unloading module 203 is further configured to:
and deleting the corresponding service resources in the service storage space based on the service resources which are transferred.
Optionally, the unloading module 203 is further configured to:
and monitoring an event using local service resources in the service, and redundantly storing the used local service resources in the service resource storage space.
Optionally, the service resource is a picture.
In an application scenario, a user creates a storage space for storing pictures in a centralized manner, then code development is carried out, the pictures in the storage space are used in the process, or when the user uses a certain picture, the picture is directly stored in the storage space in a redundant manner, after the development is finished, the user packs service contents generated by the development, executes a scanning instruction and scans used resources, and if the scanned code has the picture in the storage space, the picture is acquired from the storage space, uploaded to a server and replaced by position information.
Therefore, the user can trigger the whole flow instruction for transferring the picture only by packaging operation, automatically complete the process of transferring the picture to the server, and replace the local position information of the picture in the developed code with the address of the picture in the server, so that the developed code is operated, and the picture can be called from the server.
The device is provided with a service resource storage space locally and used for storing service resources of the same type used in service activities and local position information of the service resources, when the service resources are uploaded, a large number of traversals are not needed under each local folder, only the service resources are needed to be obtained from a centralized storage space, whether the service resources stored in the service storage space are used in the service is scanned, if the service resources are scanned, the service resources are obtained and sent to a server, the position information of the service resources in the server is obtained, a mapping relation between the position information of the service resources in the server and the local position information is established, and the local position information of the service resources in the service is replaced by the position information of the service resources in the server based on the mapping relation. Service resources are automatically identified and saved in a manner of scanning the service and replacing the location information.
Based on the same inventive concept, the embodiment of the specification further provides the electronic equipment.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as specific physical implementations for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. An electronic device 300 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one memory unit 320, a bus 330 connecting the various system components (including the memory unit 320 and the processing unit 310), a display unit 340, and the like.
Wherein the storage unit stores program code executable by the processing unit 310 to cause the processing unit 310 to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned processing method section of the present specification. For example, the processing unit 310 may perform the steps as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache storage unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in FIG. 3, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention. The computer program, when executed by a data processing apparatus, enables the computer readable medium to implement the above-described method of the invention, namely: such as the method shown in fig. 1.
Fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
A computer program implementing the method shown in fig. 1 may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the 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 computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a 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 readable storage 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 for aspects 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 and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, 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., through the internet using an internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in embodiments in accordance with the invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP). The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for transferring service resources online is characterized by comprising the following steps:
setting a service resource storage space locally for storing the same type of service resources used in service activities and local position information of the service resources;
scanning whether the service resources stored in the service storage space are used in the service;
when the service is scanned to use the service resources stored in the service storage space, acquiring the service resources, sending the service resources to a server, acquiring the position information of the service resources in the server, and establishing a mapping relation between the position information of the service resources in the server and the local position information;
and replacing the local position information of the service resource in the service with the position information of the service resource in the server based on the mapping relation.
2. The method of claim 1, further comprising:
and generating abstract information for the service resources by using an abstract algorithm, and naming the service resources based on the abstract information.
3. The method according to any one of claims 1-2, further comprising:
and sending the content of the service to a server for online.
4. The method according to any of claims 1-3, wherein said scanning whether to use the service resources stored in the service storage space in the service comprises:
and when the contents of the service are packaged, scanning whether the service resources stored in the service storage space are used in the service.
5. The method according to any one of claims 1-4, further comprising:
and prompting the transfer progress of each service resource used in the service.
6. The method according to any one of claims 1-5, further comprising:
based on the service resources completing the unloading, deleting the corresponding service resources in the service storage space
And (4) removing.
7. The method according to any one of claims 1-6, further comprising:
and monitoring an event using local service resources in the service, and redundantly storing the used local service resources in the service resource storage space.
8. An online unloading device for service resources is characterized by comprising:
the local storage module is used for locally setting a service resource storage space and storing the service resources of the same type used in the service activities and the local position information of the service resources;
the scanning module is used for scanning whether the service resources stored in the service storage space are used in the service;
the unloading module is used for acquiring the service resources when the service resources stored in the service storage space are scanned to be used by the service, sending the service resources to the server, acquiring the position information of the service resources in the server and establishing the mapping relation between the position information of the service resources in the server and the local position information;
and replacing the local position information of the service resource in the service with the position information of the service resource in the server based on the mapping relation.
9. An electronic device, wherein the electronic device comprises:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-7.
10. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-7.
CN202110110025.7A 2021-01-27 2021-01-27 Service resource online restocking method and device and electronic equipment Active CN112783834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110110025.7A CN112783834B (en) 2021-01-27 2021-01-27 Service resource online restocking method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110110025.7A CN112783834B (en) 2021-01-27 2021-01-27 Service resource online restocking method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112783834A true CN112783834A (en) 2021-05-11
CN112783834B CN112783834B (en) 2023-07-25

Family

ID=75759066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110110025.7A Active CN112783834B (en) 2021-01-27 2021-01-27 Service resource online restocking method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112783834B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1175735A (en) * 1996-07-03 1998-03-11 英特尔公司 Computer system providing universal architecture adaptive to variety of processor types and bus protocols
CN102118451A (en) * 2011-03-28 2011-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for handling uploaded user resources
CN102694770A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 System and method for multi-type resource management in business platform
CN106933853A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 A kind of files passe processing method and processing device
CN107809470A (en) * 2017-10-12 2018-03-16 北京京东尚科信息技术有限公司 The method and apparatus of application program automatically dispose
CN109634922A (en) * 2018-12-06 2019-04-16 苏州科创风云信息技术有限公司 The classification method and device of resource in shared shelf
CN109821240A (en) * 2018-12-05 2019-05-31 广州西山居世游网络科技有限公司 A kind of method and device thereof for realizing resource LOD classification based on Unity
CN109871407A (en) * 2019-01-23 2019-06-11 深圳壹账通智能科技有限公司 Excess reserve data real-time report method, apparatus, computer equipment and storage medium
CN110399345A (en) * 2019-07-30 2019-11-01 山东浪潮通软信息科技有限公司 A kind of file uploads and management method
CN110688286A (en) * 2018-07-05 2020-01-14 北京三快在线科技有限公司 Application program operation information transmission method and device, storage medium and electronic equipment
CN111104156A (en) * 2019-12-17 2020-05-05 武汉烽火信息集成技术有限公司 Service resource standardized management system and method
CN111124470A (en) * 2019-12-17 2020-05-08 口碑(上海)信息技术有限公司 Automatic optimization method and device for program package based on cloud platform
CN111597042A (en) * 2020-05-11 2020-08-28 Oppo广东移动通信有限公司 Service thread running method and device, storage medium and electronic equipment
CN111722865A (en) * 2020-06-18 2020-09-29 广州小鹏车联网科技有限公司 Resource data processing method and device for application program

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1175735A (en) * 1996-07-03 1998-03-11 英特尔公司 Computer system providing universal architecture adaptive to variety of processor types and bus protocols
CN102694770A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 System and method for multi-type resource management in business platform
CN102118451A (en) * 2011-03-28 2011-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for handling uploaded user resources
CN106933853A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 A kind of files passe processing method and processing device
CN107809470A (en) * 2017-10-12 2018-03-16 北京京东尚科信息技术有限公司 The method and apparatus of application program automatically dispose
CN110688286A (en) * 2018-07-05 2020-01-14 北京三快在线科技有限公司 Application program operation information transmission method and device, storage medium and electronic equipment
CN109821240A (en) * 2018-12-05 2019-05-31 广州西山居世游网络科技有限公司 A kind of method and device thereof for realizing resource LOD classification based on Unity
CN109634922A (en) * 2018-12-06 2019-04-16 苏州科创风云信息技术有限公司 The classification method and device of resource in shared shelf
CN109871407A (en) * 2019-01-23 2019-06-11 深圳壹账通智能科技有限公司 Excess reserve data real-time report method, apparatus, computer equipment and storage medium
CN110399345A (en) * 2019-07-30 2019-11-01 山东浪潮通软信息科技有限公司 A kind of file uploads and management method
CN111104156A (en) * 2019-12-17 2020-05-05 武汉烽火信息集成技术有限公司 Service resource standardized management system and method
CN111124470A (en) * 2019-12-17 2020-05-08 口碑(上海)信息技术有限公司 Automatic optimization method and device for program package based on cloud platform
CN111597042A (en) * 2020-05-11 2020-08-28 Oppo广东移动通信有限公司 Service thread running method and device, storage medium and electronic equipment
CN111722865A (en) * 2020-06-18 2020-09-29 广州小鹏车联网科技有限公司 Resource data processing method and device for application program

Also Published As

Publication number Publication date
CN112783834B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN108196915B (en) Code processing method and device based on application container engine and storage medium
CN106371874A (en) Plug-in data loading method and equipment
CN109542459A (en) Application program packaging method and device, computer installation and computer storage medium
CN110231945A (en) Method, apparatus, electronic equipment and the computer storage medium of code downloading
CN112395253B (en) Index file generation method, terminal device, electronic device and medium
US11531526B1 (en) Creating portable serverless applications
CN111290738A (en) Resource processing method, device and equipment of application program and storage medium
CN112114816A (en) Distributed compiling system and method
CN105447040A (en) Binary file management and update method and device, and binary file management system
US11494184B1 (en) Creation of transportability container files for serverless applications
CN113127430B (en) Mirror image information processing method, mirror image information processing device, computer readable medium and electronic equipment
CN112783834B (en) Service resource online restocking method and device and electronic equipment
US11513833B1 (en) Event listener interface for container-based execution of serverless functions
US11163636B2 (en) Chronologically ordered log-structured key-value store from failures during garbage collection
CN113568623A (en) Application deployment method and device and electronic equipment
CN112597119A (en) Method and device for generating processing log and storage medium
CN113141236A (en) Message processing method and device
CN111966592A (en) Front-end page testing method, device, medium and electronic equipment
CN113568867B (en) File encryption migration method and device and electronic equipment
CN113448960A (en) Method and device for importing form file
CN112311931B (en) Method and device for processing contact information at terminal and electronic equipment
CN113590618B (en) Zero access amount page resource cleaning method and device and electronic equipment
CN111782248B (en) Updating method and device of terminal application and electronic equipment
CN112269672B (en) File downloading exception handling method and device and electronic equipment
CN113296814A (en) Method for updating application running in container, computing 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
GR01 Patent grant
GR01 Patent grant