An object processing method and apparatus, an electronic device, and a storage medium
By converting the format of the content information in online meetings and optimizing the resource addresses, and segmenting data packets for transmission, the problem of data transmission loss in online meetings was solved, thereby improving user experience and resource utilization efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-09
- Publication Date
- 2026-03-27
AI Technical Summary
Online meetings can lead to a surge in data transmission due to a large number of participants and the large number of people sharing with each other, which may result in data packet loss.
By receiving requests from the object sharing initiator, the object processing system performs format conversion on the content information, generates and stores resource addresses, splits them into two data packets for transmission to reduce the size of a single data packet, and uses URL generation rules to optimize and reduce data bloat.
It reduces the likelihood of data packet loss in long-lived connection systems, improving user experience and resource utilization efficiency.
Smart Images

Figure CN115455240B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network, in particular to an object processing method and device, electronic equipment and storage medium. BACKGROUND
[0002] With the rapid development of Internet communication technology, online office of users in different places becomes an increasingly important work method, and more and more companies also start to use online meetings to facilitate efficient communication between enterprises. In particular, the conference function provided by some application programs not only has the related characteristics of voice transmission based on IP address, but also provides a variety of conference control operation functions, and provides the characteristics of large-scale personnel super-conference. While meeting the audio and video needs of users, online meetings also provide the functions of document sharing and real-time demonstration of PPT, realize the functions of online real-time demonstration of documents and explanation, and further meet the diverse meeting needs of users.
[0003] However, due to the existence of too many online personnel in online meetings and the possibility that the shared object is too large, the amount of data transmitted may increase explosively, thereby causing the possibility of packet loss in the data transmission process. SUMMARY
[0004] In order to solve the problems of the prior art, the embodiments of the present application provide an object processing method and device, electronic equipment and storage medium. The technical scheme is as follows:
[0005] In a first aspect, an object processing method is provided, applied to a server, the server serving an object sharing initiator and an object sharing acquirer participating in an activity, and the method comprises:
[0006] Receiving an object sharing request of the object sharing initiator, the object sharing request carrying identification information of the object;
[0007] Obtaining content information of the object based on the identification information, and performing format conversion processing, resource address generation and storage processing on the content information of the object by using an object processing system;
[0008] In response to an activity information acquisition request sent by the object sharing acquirer, returning the activity information to the object sharing acquirer;
[0009] In response to an object acquisition request sent by the object sharing acquirer, returning a resource address of the object to the object sharing acquirer, so that the object sharing acquirer acquires the content information of the object after format conversion based on the resource address.
[0010] In a second aspect, an object processing device is provided, serving an object sharing initiator and an object sharing acquirer participating in an activity, and the device comprises:
[0011] The receiving module is configured to receive an object sharing request of an object sharing initiator, and the object sharing request carries identification information of an object.
[0012] The object processing module is configured to acquire content information of the object based on the identification information, perform format conversion processing on the content information of the object by using an object processing system, generate a resource address, and perform storage processing.
[0013] The sending module is configured to return activity information to the object sharing acquirer in response to an activity information acquisition request sent by the object sharing acquirer, and return the resource address of the object to the object sharing acquirer in response to an object acquisition request sent by the object sharing acquirer, so that the object sharing acquirer acquires the content information of the object after format conversion based on the resource address.
[0014] In a third aspect, a computer readable storage medium is provided, and the computer readable storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the object processing method in the first aspect.
[0015] In a fourth aspect, a computer program product or a computer program is provided, and the computer program product or the computer program includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the object processing method provided in the first aspect.
[0016] The object processing method provided in the first aspect can split the activity information and the content information of the object after format conversion into two data packets by two requests, reduce the size of a single data packet, and reduce the possibility of being discarded by a long link system. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments description. Obviously, the drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0018] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0019] Figure 2 is a flowchart of an object processing method provided by an embodiment of the present application;
[0020] Figure 3 is a flowchart of an object processing method provided by an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of generating a URL before and after a rule modification provided by an embodiment of the present application;
[0022] Figure 5 is a structural block diagram of an object processing apparatus provided by an embodiment of the present application;
[0023] Figure 6 is a hardware structural block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments only constitute some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or server including a series of steps or units does not necessarily have to include only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0026] Please refer to Figure 1It shows an implementation environment schematic diagram provided by the embodiment of the application, which can include a server 101, an object sharing initiation end 102 and an object sharing acquisition end 103.
[0027] The server 101 can be a device receiving the object sharing request of the object sharing initiation end 102. Optionally, the server 101 can be a physical server, a server cluster or a distributed system composed of multiple physical servers, a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and basic cloud computing services such as big data and artificial intelligence platforms, and the like, which are not limited in the application.
[0028] Cloud computing is a computing mode that distributes computing tasks on a resource pool composed of a large number of computing devices, so that various application systems can obtain computing power, storage space and information services according to needs. The network providing resources is called "cloud". The resources in the "cloud" can be infinitely expanded in the eyes of the user, and can be obtained at any time, used on demand, expanded at any time, and paid according to use. As a basic capability provider of cloud computing, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an IaaS (Infrastructure as a Service, Infrastructure as a Service) platform) is established, and a plurality of types of virtual resources are deployed in the resource pool for external customers to select and use. The cloud computing resource pool mainly includes: computing devices (virtualized machines containing operating systems), storage devices, network devices. According to logical functions, the IaaS (Infrastructure as a Service, Infrastructure as a Service) layer can be deployed on the PaaS (Platform as a Service, Platform as a Service) layer, and the SaaS (Software as a Service, Software as a Service) layer is deployed on the PaaS layer. SaaS is a variety of business software, such as web portal websites, SMS mass senders, etc. Generally speaking, SaaS and PaaS are upper layers relative to IaaS.
[0029] Optionally, the server 101 can be a server serving the object sharing initiator 102 and the object sharing acquirer 103 participating in the activity. The server 101 can receive the object sharing request of the object sharing initiator 102, the object sharing request carrying the identification information of the object. And based on the identification information, the content information of the object is obtained, the content information of the object is processed by the object processing system, the generation and storage processing of the resource address are performed, the activity information is returned to the object sharing acquirer 103 in response to the activity information acquisition request sent by the object sharing acquirer 103, and the object sharing acquirer 103 is returned to the object acquisition request sent by the object sharing acquirer 103, so that the object sharing acquirer 103 obtains the content information of the object after the format conversion based on the resource address.
[0030] Wherein, the object sharing initiator 102 and the object sharing acquirer 103 can be the device of the user, for sending the object sharing request and the activity message acquisition request respectively. Optionally, the above-mentioned object sharing initiator 102 and object sharing acquirer 103 include but are not limited to smart phones, desktop computers, tablet computers, notebook computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices and other types of electronic devices. It can also be a software running on the above-mentioned electronic device, such as an application, a program, etc. Optionally, the operating system running on the electronic device can include but is not limited to Android system, IOS system, linux, windows, Unix, etc.
[0031] Please refer to Figure 2 , Figure 2 The flowchart of the object processing method provided by the embodiment of the application is shown in the figure. The method can be applied to the system shown in Figure 1 It should be noted that the present specification provides method operation steps as described in the embodiment or flowchart, but more or less operation steps can be included based on conventional or non-creative labor. The order of steps listed in the embodiment is only one of the many execution orders, and it does not represent the only execution order. In actual system or product execution, the method order shown in the embodiment or the drawing can be executed in sequence or in parallel (for example, in parallel processor or multi-threaded processing environment). Specifically, as shown in Figure 2 The above-mentioned object processing method can be applied to a server, which is a server serving the object sharing initiator and the object sharing acquirer participating in the activity, and the method can include:
[0032] S201: receiving the object sharing request of the object sharing initiator, the object sharing request carrying the identification information of the object.
[0033] In the embodiments of the present application, the activity in the above-mentioned activity can be an information sharing activity between the object sharing initiator and the object sharing acquirer with the cooperation of the server, such as an online meeting. Wherein, the object can be a document, a picture, a video, an audio and the like in the information sharing activity.
[0034] In an optional embodiment, the server can receive the object sharing request of the object sharing initiator, and the object sharing request carries the identification information of the object. Wherein, assuming that the object is a document, the identification information of the object can be the name of the document, fileID, assuming that the object is a picture, the identification information of the object can be a string representing the picture, and the same is true for audio and video, which will not be repeated here.
[0035] In some possible embodiments, since it has been mentioned above that the activity can be an online meeting, the members of the online meeting can include the user to which the object sharing initiator belongs and the user to which the object sharing acquirer belongs. At a certain moment in the online meeting, there can be an object sharing initiator (document sharing initiator) and multiple object sharing acquirers (document sharing acquirers). Optionally, the object sharing initiator at each moment can be different, and the same situation can also exist.
[0036] Optionally, the number of object sharing acquirers is not limited. Optionally, if the online meeting itself is a super large scale online meeting, the number of object sharing acquirers can be greater than or equal to a preset number threshold, for example, the preset number threshold can be 300.
[0037] In a possible embodiment, on the premise that the activity is an online meeting, before step S201, that is, before the server receives the object sharing request of the object sharing initiator, the server can receive the content information of the object uploaded by the object sharing initiator in advance. Optionally, when the server receives the content information of the object uploaded by the object sharing initiator, the content information of the object is stored to the object storage module in the object processing system.
[0038] This is because, in the case of a large scale online meeting, the content information of the object to be shared by the object sharing initiator, such as the content information of the document, has a relatively large overall memory, and if it is not uploaded in advance, it may cause slow uploading of the server due to the large memory, and thus slow sharing to the object sharing acquirer.
[0039] S203: Based on the identification information, the content information of the object is obtained, and the object processing system is used to perform format conversion processing, resource address generation and storage processing on the content information of the object.
[0040] In an alternative embodiment, the object processing system can be a system integrated in a server, or a system independent of the server.
[0041] In the embodiments of the present application, if the object processing system is a system integrated in a server, the object processing system can include an object storage module, an object conversion module and a resource address storage module. If the object processing system is a system independent of the server, the object storage module can be referred to as an object storage platform (server), the object conversion module can be referred to as an object conversion platform (server), and the resource address storage module can be referred to as a resource address storage platform (server).
[0042] The following will continue to describe the embodiments in step S203 by taking the object storage module, the object conversion module and the resource address storage module as examples. Please refer to FIG. 2, which is a flowchart of an object processing method according to an embodiment of the present application, including the following steps: Figure 3 Figure 3
[0043] S2031: sending a content information obtaining request of an object to an object storage module, the content information obtaining request including identification information, the content information obtaining request being used to instruct the object storage module to obtain the content information of the object based on the identification information.
[0044] In the embodiments of the present application, as mentioned above, the server can store the received content information of the object to the object storage module, therefore, when the server receives the identification information of the object, the server can send a content information obtaining request of the object to the object storage module, wherein the content information obtaining request includes the identification information, and the content information obtaining request is used to instruct the object storage module to obtain the content information of the object based on the identification information.
[0045] S2032: receiving the content information of the object returned by the object storage module.
[0046] In the embodiments of the present application, the content information of the object can be information in binary format. Alternatively, the content information of the object received by the object storage module from the server can not be in binary format, but can be converted later.
[0047] In some possible embodiments, in addition to the content information of the object, the server can also obtain other related information of the object, such as attribute information, including the name of the object, the capacity information of the object, the word count of the object, the original format information of the object, etc.
[0048] S2033: The content information conversion instruction is sent to the object conversion module, the content information conversion instruction includes the content information of the object, the content information conversion instruction is used to instruct the object conversion module to convert the content information of the object from an initial format to a preset format, and generate a resource address based on the content information after the format conversion.
[0049] In the embodiments of the present application, in order to enable the subsequent object sharing acquisition end to open the content information of the object more easily, more clearly and less tamperably, the preset format after the conversion in the above can be a PDF format. Of course, the PDF format is only an optional implementation, and in actual application, the conversion of the format can be performed according to a pre-setting.
[0050] In an optional embodiment, in the case where the content information after the format conversion is a set of multiple sub-content information, the generation of the resource address based on the content information after the format conversion in the above can be represented as: the object conversion module can generate a sub-resource address for each sub-content information in the multiple sub-content information, and obtain the resource address based on the sub-resource address.
[0051] For example, assuming that the object is a multi-page word document, when the object conversion module performs the format conversion on the word document, a multi-page PDF document can be obtained, and the multiple sub-content information is the multiple sub-PDF pages in the PDF document. Optionally, the object conversion module can generate a sub-resource address for each sub-PDF page in the multiple sub-PDF pages, and obtain the resource address based on the sub-resource address, so that a set of resource addresses of the multi-page PDF document can be obtained.
[0052] Optionally, the resource address can be a uniform resource locator (URL).
[0053] Since the subsequent object sharing acquisition end acquires the content information of the object after the format conversion based on the resource address, and in the scenario of a large-scale meeting, the content information after the format conversion can have a large capacity, specifically, the number of pages of the PDF document after the format conversion can be too large, if the object conversion module randomly generates the URL of each PDF page, each URL can be composed of different strings. In this way, if the number of shared document pages is large, the URL can be sharply expanded, resulting in the expansion of the shared data in the meeting. In view of this, the generation rule of the URL can be modified, the URL is modified in the form of prefix+page number, and the modified URL is: the sub-resource address includes a shared part and a different part; the shared part of the sub-resource address corresponding to each sub-content information is the same, and the different part of the sub-resource address corresponding to each sub-content information is different; the number of bytes of the shared part is greater than the number of bytes of the different part.
[0054] FIG. 1 shows a schematic diagram of a server according to an embodiment of the present application, wherein, Figure 4 Figure 4 FIG. 2 shows a schematic diagram of a server according to an embodiment of the present application, wherein, Figure 4 (a) of FIG. 2 shows the URLs generated before the modification of the generation rule of the URLs, and it can be seen that most of the bytes of each URL are not the same, Figure 4 (b) of FIG. 2 shows the URLs generated after the modification of the generation rule of the URLs, and it can be seen that the shared part of the sub-resource address corresponding to each sub-content information is the same, and the different part (the number of page codes) of the sub-resource address corresponding to each sub-content information is different; the number of bytes of the shared part is greater than the number of bytes of the different part.
[0055] In this way, the sub-resource address (the URL corresponding to each PDF page) finally issued to the object sharing acquisition end only needs to use the prefix + the number of page codes to indicate all the document data. It is no longer necessary to separately issue a URL for each page. For a PDF document with a large number of page codes, the amount of data required to be issued is very small, thereby saving not only the storage resources in the resource address storage module, but also the subsequent communication resources required for the subsequent issuance.
[0056] S2034: receiving the content information and the resource address returned by the object conversion module after the format conversion.
[0057] In the embodiment of the present application, after the object conversion module converts the content information of the object from the initial format to the preset format and generates the resource address based on the content information after the format conversion, the server can receive the content information and the resource address returned by the object conversion module after the format conversion.
[0058] S2035: sending an address storage instruction to the resource address storage module, wherein the address storage instruction contains the resource address.
[0059] After the resource address storage module receives the resource address, it can store it in the local active related storage data.
[0060] S2036: receiving the address storage feedback returned by the resource address storage module.
[0061] In the embodiment of the present application, the address storage feedback is used to inform the server that the resource address has been stored in the resource address storage module.
[0062] In some possible embodiments, if the storage object storage module and the resource address storage module used to store the content information and the resource address of the object respectively are independent of the server, the storage object storage module and the resource address storage module can both be presented in a block chain manner.
[0063] The blockchain is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. The blockchain is essentially a decentralized database and is a chain of data blocks associated using cryptographic methods. Each data block contains information about a batch of network transactions and is used to verify the validity (anti-fake) of the information and generate the next block. The blockchain can include a blockchain underlying platform, a platform product service layer, and an application service layer.
[0064] The blockchain underlying platform can include user management, basic services, smart contracts, and operation monitoring processing modules. The user management module is responsible for the identity information management of all blockchain participants, including maintaining the generation of public and private keys (account management), key management, and the maintenance of the correspondence between the real identity of a user and a blockchain address (permission management), and, under authorization, supervising and auditing the transaction of certain real identities and providing rule configuration for risk control (risk audit). The basic service module is deployed on all blockchain node devices to verify the validity of business requests and record them to the storage after consensus. For a new business request, the basic service first performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts the business information through a consensus algorithm (consensus management), and after encryption, the complete and consistent information is transmitted to the shared ledger (network communication) and recorded and stored. The smart contract module is responsible for the registration and issuance of contracts, the triggering and execution of contracts, and the development of contract logic by developers through a certain programming language, the release of the contract logic to the blockchain (contract registration), the triggering and execution of the contract logic according to the logic of the contract terms, and the provision of contract upgrade and cancellation functions. The operation monitoring module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation during product release, and real-time state visualization output during product operation, such as alarms, network monitoring, and node device health status monitoring.
[0065] The platform product service layer provides basic capabilities and implementation frameworks for typical applications. Developers can add business features based on these basic capabilities to complete the blockchain implementation of business logic. The application service layer provides application services based on the blockchain solution for business participants to use.
[0066] In some possible embodiments, if the storage object storage module and the resource address storage module for storing the content information and the resource address of the object, respectively, are integrated in the server, the server can be presented in the form of a blockchain.
[0067] In some possible embodiments, the server can send an object sharing feedback to the object sharing initiator after receiving the address storage feedback returned by the resource address storage module, to inform the object sharing initiator that all the processing (acquisition, format conversion, URL generation) of the object has been completed, and only the active information acquisition request and the subsequent object acquisition request of the object sharing acquisition end are to be received.
[0068] However, as mentioned above, due to the possibility of super large capacity of the object, if the object sharing feedback is fed back to the object sharing initiator only after all the processing procedures are completed, a request timeout may be triggered, which gives the user of the object sharing initiator a poor user experience. Therefore, in the case that the capacity of the content information of the object is greater than or equal to the capacity threshold, the server can send an object sharing feedback to the object sharing initiator before acquiring the content information of the object from the object processing system based on the identification information. That is, the user of the object sharing initiator can be fed back immediately to improve the user experience.
[0069] S205: In response to the active information acquisition request sent by the object sharing acquisition end, the active information is returned to the object sharing acquisition end.
[0070] S207: In response to the object acquisition request sent by the object sharing acquisition end, the resource address of the object is returned to the object sharing acquisition end, so that the object sharing acquisition end acquires the content information of the object after format conversion based on the resource address.
[0071] In the embodiments of the present application, the active information includes the member name, the member avatar, and the member state of the participating activity, and can further include public information such as the host information, the meeting theme, and the meeting start time.
[0072] In the related art, in order to reduce the data transmission process, the server can combine the above two requests (the active information acquisition request and the object acquisition request) and return the active information and the content information of the object after format conversion at the same time. However, in a large-scale meeting, the data volume of the active information and the content information of the object after format conversion can be very large, and if they are replied in one data packet, the entire data packet may be too large to be discarded by the long link system.
[0073] Therefore, in the embodiments of the present application, the server can return the active information to the object sharing acquisition end in response to the active information acquisition request sent by the object sharing acquisition end. When the object sharing acquisition end determines that the active information acquisition is completed, the object acquisition request can be sent to the server. In this way, the server can return the resource address of the object to the object sharing acquisition end in response to the object acquisition request sent by the object sharing acquisition end, so that the object sharing acquisition end acquires the content information of the object after format conversion based on the resource address.
[0074] In this way, the above-mentioned possible oversized data packet is divided into two parts for delivery, reducing the size of a single data packet and reducing the possibility of being dropped by a long link system.
[0075] To sum up, in the embodiment of the application, the server can send an object sharing feedback to the object sharing initiation end in the case that the capacity of the content information of the object is greater than or equal to the capacity threshold before obtaining the content information of the object from the object processing system based on the identification information, so that the user of the object sharing initiation end can receive the sharing feedback in time, improving the user experience.
[0076] At the same time, by modifying the URL generation rule, the amount of data required for delivery of a PDF document with a large number of pages is very small, thereby saving not only storage resources in the resource address storage module, but also subsequent communication resources required for delivery.
[0077] Further, the server can split the activity information and the content information of the object after format conversion into two data packets for delivery by two requests, reducing the size of the data packet and reducing the possibility of being dropped by a long link system.
[0078] Please refer to Figure 5 , which is a structural schematic diagram of an object processing device provided by an embodiment of the application. The device has the function of implementing the object processing method in the above-mentioned method embodiment, which can be realized by hardware or by executing corresponding software by hardware. As shown in Figure 5 , the device can include:
[0079] The receiving module 501 is configured to receive an object sharing request of an object sharing initiation end, and the object sharing request carries identification information of an object;
[0080] The object processing module 502 is configured to obtain content information of the object based on the identification information, perform format conversion processing on the content information of the object by using an object processing system, generate and store a resource address;
[0081] The sending module 503 is configured to return activity information to the object sharing acquisition end in response to an activity information acquisition request sent by the object sharing acquisition end, and return a resource address of the object to the object sharing acquisition end in response to an object acquisition request sent by the object sharing acquisition end, so that the object sharing acquisition end acquires content information of the object after format conversion based on the resource address.
[0082] As one possible implementation, in the case that the capacity of the content information of the object is greater than or equal to the capacity threshold, before obtaining the content information of the object from the object processing system based on the identification information, the method further includes:
[0083] The object sharing feedback is sent to the object sharing initiator.
[0084] As one possible implementation, the object processing system includes an object storage module;
[0085] The object processing module includes a first sending module and a first receiving module;
[0086] The first sending module is configured to send a content information acquisition request of the object to the object storage module, the content information acquisition request including identification information, and the content information acquisition request being configured to instruct the object storage module to acquire content information of the object based on the identification information;
[0087] The first receiving module is configured to receive the content information of the object returned by the object storage module;
[0088] The content information is in a binary format.
[0089] As one possible implementation, the object processing system includes an object conversion module and a resource address storage module;
[0090] The object processing module includes a second sending module, a second receiving module, a third sending module, and a third receiving module;
[0091] The second sending module is configured to send a content information conversion instruction to the object conversion module, the content information conversion instruction including the content information of the object, and the content information conversion instruction being configured to instruct the object conversion module to convert the content information of the object from an initial format to a preset format and generate a resource address based on the content information after the format conversion;
[0092] The second receiving module is configured to receive the content information after the format conversion and the resource address returned by the object conversion module;
[0093] The third sending module is configured to send an address storage instruction to the resource address storage module, the address storage instruction including the resource address;
[0094] The third receiving module is configured to receive address storage feedback returned by the resource address storage module.
[0095] As one possible implementation, in a case where the content information after the format conversion is a set of multiple sub-content information, generating the resource address based on the content information after the format conversion includes:
[0096] Generating a sub-resource address for each sub-content information in the multiple sub-content information;
[0097] Obtaining the resource address based on the sub-resource address.
[0098] As one possible implementation, the sub-resource address includes a shared part and a distinguishing part;
[0099] The shared part of the sub-resource address corresponding to each sub-content information is the same, and the different part of the sub-resource address corresponding to each sub-content information is different.
[0100] As a possible implementation, the number of object sharing acquisition ends is greater than or equal to a preset number threshold.
[0101] It should be noted that the apparatus provided in the above embodiments, in realizing its functions, is only exemplified by the above division of functional modules, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above-described functions. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0102] The electronic device provided in the embodiment of the present application includes a processor and a memory, and the memory stores at least one instruction or at least one program, which is loaded and executed by the processor to realize the object processing method provided in the above method embodiment.
[0103] The memory can be used to store software programs and modules, and the processor executes various functional applications and object processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide access of the processor to the memory.
[0104] The method embodiment provided in the embodiment of the present application can be executed in a computer terminal, a server or a similar computing device. Figure 6 is the hardware structure block diagram of the electronic device running an object processing method provided in the embodiment of the present application, as Figure 6 shown, the internal structure of the electronic device can include but is not limited to a processor, a network interface and a memory. Among them, the processor, the network interface and the memory in the electronic device can be connected through a bus or other ways, in the embodiment of the present application Figure 6 is taken as an example to connect through a bus.
[0105] The processor (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device. The network interface can optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.). The memory is a memory device in the electronic device, used to store programs and data. It can be understood that the memory here can be a high-speed RAM memory device, or a non-volatile memory, for example, at least one disk storage device; optionally, it can also be at least one storage device located away from the aforementioned processor. The memory provides a storage space that stores the operating system of the electronic device, which can include but is not limited to: a Windows system (an operating system), a Linux (an operating system), an Android (a mobile operating system) system, an IOS (a mobile operating system) system, etc., and the present application does not limit this; and in the storage space, one or more instructions suitable for being loaded and executed by the processor are also stored, which can be one or more computer programs (including program codes). In the embodiment of the present application, the processor loads and executes one or more instructions stored in the memory to implement the object processing method provided by the above method embodiment.
[0106] The embodiment of the present application also provides a computer readable storage medium, which can be arranged in an electronic device to save at least one instruction or at least one program related to an object processing method, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the object processing method provided by the above method embodiment.
[0107] The embodiment of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the object processing method provided in the various optional implementation manners described above.
[0108] Optionally, in the present embodiment, the storage medium can include but is not limited to: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0109] It should be noted that the above-mentioned embodiments of the present application are merely intended to describe the present application and are not intended to limit the present application. The above-mentioned embodiments of the present application are described in a progressive manner, and the same or similar parts among the embodiments can be mutually referred to. Each embodiment focuses on the difference from other embodiments. In particular, the device embodiments are described simply because they are basically similar to the method embodiments, and the relevant parts can be referred to the description of the method embodiments.
[0110] The embodiments in the present specification are described in a progressive manner, and the same or similar parts among the embodiments can be mutually referred to. Each embodiment focuses on the difference from other embodiments. In particular, the device embodiments are described simply because they are basically similar to the method embodiments, and the relevant parts can be referred to the description of the method embodiments.
[0111] A person of ordinary skill in the art can understand that all or part of the above-mentioned embodiments can be completed by hardware, or a program instructing relevant hardware, and the program can be stored in a computer readable storage medium, such as a read-only memory, a magnetic disk or an optical disk.
[0112] The above-mentioned embodiments are merely preferred embodiments of the present application, and are not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An object processing method, characterized in that, Applied to a server, the server serves both the object-sharing initiator and the object-sharing recipient participating in the activity, the method includes: Receive the object sharing request from the object sharing initiator, wherein the object sharing request carries the object's identification information; Based on the identification information, the content information of the object is obtained, and the object processing system is used to perform format conversion processing, resource address generation and storage processing on the content information of the object. In response to the activity information retrieval request sent by the object sharing retrieval terminal, the activity information is returned to the object sharing retrieval terminal; In response to the object acquisition request sent by the object sharing acquisition terminal, the resource address of the object is returned to the object sharing acquisition terminal so that the object sharing acquisition terminal can obtain the content information of the object after format conversion based on the resource address; The object processing system includes an object conversion module and a resource address storage module; The process of using the object processing system to perform format conversion of the object's content information, generate resource addresses, and store them includes: Send a content information conversion instruction to the object conversion module. The content information conversion instruction includes the content information of the object. The content information conversion instruction is used to instruct the object conversion module to convert the content information of the object from an initial format to a preset format, and generate the resource address based on the content information after format conversion. Receive the format-converted content information and the resource address returned by the object conversion module; Send an address storage instruction to the resource address storage module, wherein the address storage instruction contains the resource address; Receive address storage feedback returned by the resource address storage module.
2. The object processing method according to claim 1, characterized in that, If the capacity of the object's content information is greater than or equal to a capacity threshold, before obtaining the object's content information from the object processing system based on the identification information, the method further includes: Send object sharing feedback to the object sharing initiator.
3. The object processing method according to claim 1, characterized in that, The object processing system includes an object storage module; The step of obtaining the content information of the object based on the identification information includes: Send a content information retrieval request for the object to the object storage module. The content information retrieval request includes the identification information. The content information retrieval request is used to instruct the object storage module to retrieve the content information of the object based on the identification information. Receive the content information of the object returned by the object storage module; The content information is in binary format.
4. The object processing method according to claim 1, characterized in that, When the format-converted content information is a collection of multiple sub-content information; generating the resource address based on the format-converted content information includes: Generate a sub-resource address for each of the multiple sub-content information; The resource address is obtained based on the sub-resource address.
5. The object processing method according to claim 4, characterized in that, The sub-resource address includes a shared portion and a distinguishing portion; In this context, the shared portion of the sub-resource address corresponding to each sub-content information is the same; the distinguishing portion of the sub-resource address corresponding to each sub-content information is different; and the number of bytes in the shared portion is greater than the number of bytes in the distinguishing portion.
6. The object processing method according to claim 1, characterized in that, The number of objects to be shared and acquired is greater than or equal to a preset threshold.
7. An object processing apparatus, characterized in that, The device serves as both the object-sharing initiator and the object-sharing receiver for participating in activities, and includes: The receiving module is used to receive the object sharing request from the object sharing initiator, wherein the object sharing request carries the object's identification information; The object processing module is used to obtain the content information of the object based on the identification information, and to perform format conversion processing, resource address generation and storage processing on the content information of the object using the object processing system. The sending module is used to respond to the activity information acquisition request sent by the object sharing acquisition terminal, return activity information to the object sharing acquisition terminal; and respond to the object acquisition request sent by the object sharing acquisition terminal, return the resource address of the object to the object sharing acquisition terminal, so that the object sharing acquisition terminal can obtain the content information of the object after format conversion based on the resource address. The object processing system includes an object conversion module and a resource address storage module; The object processing module includes a second sending module, a second receiving module, a third sending module, and a third receiving module; The second sending module is used to send a content information conversion instruction to the object conversion module. The content information conversion instruction includes the content information of the object. The content information conversion instruction is used to instruct the object conversion module to convert the content information of the object from an initial format to a preset format, and to generate the resource address based on the content information after format conversion. The second receiving module is used to receive the format-converted content information and the resource address returned by the object conversion module; The third sending module is used to send an address storage instruction to the resource address storage module, wherein the address storage instruction contains the resource address; The third receiving module is used to receive the address storage feedback returned by the resource address storage module.
8. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the object processing method as described in any one of claims 1 to 6.
9. A computer-readable storage medium storing at least one instruction or at least one program, said at least one instruction or said at least one program being loaded and executed by a processor to implement the object processing method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Document sharing method, device and system
CN108737482A
Content sharing method, terminal, computer device and storage medium
CN110187854A