Data management methods, devices, equipment, and media based on self-media accounts
By dynamically allocating memory and clearing junk data for self-media accounts, the problem of uneven reading efficiency caused by differences in the amount of data of self-media accounts is solved, memory utilization and data management convenience are improved, and data transmission security and content creation convenience for creators are enhanced.
Patent Information
- Application Number
- CN202210174031.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-24
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-02-24
AI Technical Summary
The difference in data volume among self-media accounts leads to uneven data reading efficiency; accounts with large data volumes have low efficiency, while accounts with small data volumes have low memory utilization.
Allocate spare memory space for self-media accounts with large amounts of data, clear junk data, dynamically adjust memory configuration based on memory usage, and display revenue sharing amount and creator's key creative information through the client.
It improves the efficiency of reading large amounts of account data, enhances memory utilization, improves the convenience and security of data management, and increases the convenience of content creation for creators.
Smart Images

Figure CN114661461B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data management, and in particular to a data management method, apparatus, device, and medium based on self-media accounts. Background Technology
[0002] In related technologies, operating companies sell products through self-media accounts and store data during the operation of self-media accounts. However, during the operation, the amount of data between self-media accounts will gradually differ. For example, self-media accounts with a large number of followers and orders have a large amount of data, while self-media accounts with a small number of followers and orders have a small amount of data. The inventor believes that self-media accounts with a large amount of data have slow data reading efficiency, while self-media accounts with a small amount of data have low memory utilization. Summary of the Invention
[0003] To improve the utilization of the current memory configuration, this application provides a data management method, apparatus, device, and medium based on self-media accounts.
[0004] Firstly, this application provides a data management method based on self-media accounts, employing the following technical solution:
[0005] A data management method based on self-media accounts includes:
[0006] The system acquires the operational data of multiple self-media accounts and writes the operational data of each self-media account into the initial memory space corresponding to that self-media account.
[0007] If the usage of the initial memory space corresponding to any of the aforementioned self-media accounts reaches a first memory threshold, then a first backup memory space is allocated to the self-media account that has reached the first memory threshold, wherein the backup memory space and the initial memory space together constitute the current memory space.
[0008] By adopting the above technical solution, when the used amount of the initial memory space corresponding to a self-media account reaches the first memory threshold, the spare memory is allocated. Self-media accounts with a large amount of data have a larger current memory space, thereby ensuring the reading efficiency of self-media account data and improving the utilization rate of spare memory.
[0009] Optionally, it also includes: in response to a garbage dataset cleanup operation of any of the self-media accounts, obtaining the garbage data currently stored in the memory space corresponding to the self-media account;
[0010] Clear the junk data and calculate the amount of memory space used by the self-media account after clearing the junk data;
[0011] If the current memory space used by the self-media account is less than the second memory threshold, then the allocated spare memory space of the self-media account is reduced, wherein the second memory threshold is less than the first memory threshold.
[0012] By adopting the above technical solution, after the clearing is completed and the current memory is less than the second memory threshold, the unused space of the current memory space is allocated to the spare memory, which facilitates the subsequent allocation of unused space by the spare memory and improves the utilization rate of unused space.
[0013] Optionally, it may also include: obtaining first revenue sharing data from multiple self-media accounts, wherein the first revenue sharing data includes commercial order revenue data and follower data;
[0014] Obtain the first weight information corresponding to each data point in the first data segmentation;
[0015] The first revenue share amount of the self-media account is calculated based on the first revenue share data and the first weight information.
[0016] The first share of the amount is sent to the client and displayed through the client.
[0017] By adopting the above technical solution, the revenue sharing amount is calculated based on the first revenue sharing data of the self-media account and displayed through the client, enabling the operating company to calculate and view the revenue sharing data of multiple self-media accounts.
[0018] Optionally, after calculating the revenue share of the self-media account based on the first revenue share data and the first weight information, the method further includes:
[0019] The second revenue sharing data is obtained based on the video content, and the second revenue sharing data includes like data, forward data, and favorite data.
[0020] Obtain the second weight information corresponding to each data point in the second data segmentation;
[0021] The second revenue share for the creator of the video content is calculated based on the second revenue share data and the second weight information.
[0022] The second share amount is sent to the client and displayed through the client.
[0023] By adopting the above technical solution, the revenue sharing amount also includes a second revenue sharing data. Since a self-media account may correspond to multiple creators, the revenue sharing amount for each creator is calculated based on the second revenue sharing data of the content created by the creators. This makes it easier for the operating company to calculate the revenue sharing for multiple creators of a self-media account.
[0024] Optional, also includes:
[0025] Obtain the time value with the most likes during the playback of the video content;
[0026] Obtain the frame of the video content corresponding to the time value;
[0027] The frame is sent to the social media account corresponding to the video content, and the creator corresponding to the video content responds to the input of the key creative information of the frame.
[0028] The key creative information will be displayed to other creators corresponding to the self-media account through the self-media account login interface.
[0029] By adopting the above technical solution, during the data management process, the content that is more recognized by the audience can be statistically analyzed regularly and shared among multiple creators of the self-media account. This allows creators to understand the audience's preferences in a timely manner, thereby improving the convenience of content creation for multiple creators of the self-media account.
[0030] Optionally, before sending the share of the revenue to the client and displaying it through the client, the method further includes:
[0031] In response to the client's TCP connection trigger action, establish a long-lived TCP connection with the client;
[0032] Based on the TCP long connection, the system performs security authentication with the client and negotiates an encryption algorithm.
[0033] By adopting the above technical solution, the confidentiality of data transmission between the client and the server is improved, thus enhancing the security of data transmission.
[0034] Secondly, this application provides a data management device based on self-media accounts, which adopts the following technical solution:
[0035] A data management device based on self-media accounts, comprising:
[0036] The first acquisition module is used to acquire the running data of multiple self-media accounts and write the running data of each self-media account into the initial memory space corresponding to the self-media account.
[0037] The second acquisition module is used to allocate a first backup memory space to the self-media account that has reached the first memory threshold when the usage of the initial memory space corresponding to any of the self-media accounts reaches the first memory threshold, wherein the backup memory space and the initial memory space together constitute the current memory space.
[0038] Thirdly, this application provides a data management device based on self-media accounts, which adopts the following technical solution:
[0039] A data management device based on self-media accounts includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any of the first aspects of the data management method based on self-media accounts.
[0040] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:
[0041] A computer-readable storage medium storing a computer program capable of being loaded by a processor and executing the data management method based on social media accounts as described in any of the first aspects. Attached Figure Description
[0042] Figure 1 This is a schematic diagram of a data management method based on self-media accounts according to one embodiment of this application.
[0043] Figure 2 This is a structural block diagram of a management device according to one embodiment of this application.
[0044] Figure 3 This is a structural block diagram of a management device according to one embodiment of this application. Detailed Implementation
[0045] The present application will be further described in detail below with reference to the accompanying drawings.
[0046] This application provides a data management method based on self-media accounts. The following will describe the specific implementation method. Figure 1 The processing flow shown is explained in detail, including:
[0047] Step S101: Obtain the running data of multiple self-media accounts, and write the running data of each self-media account into the initial memory space corresponding to the self-media account;
[0048] In the process of managing multiple self-media accounts, the operating company initially allocates initial memory space to each self-media account according to the principle of equal distribution. As the self-media accounts continue to operate, the amount of data between the self-media accounts gradually becomes different. Self-media accounts with more followers and more orders have more data, while self-media accounts with fewer followers and fewer orders have less data. Therefore, self-media accounts with more data have slower data reading efficiency, while self-media accounts with less data have lower memory utilization.
[0049] Step S102: If the amount of initial memory space used by any self-media account reaches the first memory threshold, then allocate the first spare memory space to the self-media account that has reached the first memory threshold. The spare memory space and the initial memory space together constitute the current memory space.
[0050] A first memory threshold is preset for the initial memory space corresponding to a self-media account. The first memory threshold = initial memory space * first ratio value. It is easy to understand that the first ratio value is less than 1. Since multiple self-media accounts correspond to the same initial memory space size, the initial value of the first memory threshold is the same for multiple self-media accounts, and the first ratio value can be 0.7-0.8.
[0051] When the amount of initial memory space used by any self-media account reaches the first memory threshold, the first reserve memory space can be allocated to each self-media account simultaneously based on the percentage information of the amount of initial memory space used by multiple self-media accounts. The percentage information = amount used / initial memory space. The server has a pre-set mapping table between the range of the percentage information and the reserve memory allocation ratio.
[0052] For example, the range is divided into three: 30%-40% is the first range, 50%-60% is the second range, and 70%-80% is the third range. The allocation ratio for the first range is 20%, the allocation ratio for the second range is 30%, and the allocation ratio for the third range is 50%.
[0053] It's easy to understand that if the percentage of time a self-media account has been used is relatively high, then the amount of data stored in that self-media account, such as the number of followers and revenue from commercial orders, is relatively large. This indicates that the content published by that self-media account is highly popular. In order to improve the data reading efficiency of a self-media account with a large amount of data, the proportion of the first spare memory space allocated to that self-media account is relatively high.
[0054] In one embodiment, the method further includes the following processing: in response to the clearing operation of the garbage dataset of any self-media account, obtaining the garbage data stored in the current memory space corresponding to the self-media account; clearing the garbage data and calculating the amount of used memory space corresponding to the self-media account after clearing the garbage data; if the amount of used memory space corresponding to the self-media account is less than a second memory threshold, reducing the allocated spare memory space of the self-media account, wherein the second memory threshold is less than the first memory threshold.
[0055] During the data management process of self-media accounts, some junk data will be generated, including duplicate data and erroneous data. Creators need to clear the junk data stored in the current memory space. After the clearing is completed and the current memory is less than the second memory threshold, the unused space in the current memory space is allocated to the spare memory according to the preset allocation ratio. This facilitates the subsequent allocation of unused space by the spare memory, thereby improving the utilization rate of unused space. The allocation ratio of unused space can be preset according to different self-media accounts.
[0056] In one embodiment, the process further includes: obtaining first revenue sharing data for multiple self-media accounts, the first revenue sharing data including order revenue data and follower data; obtaining first weight information for the revenue sharing corresponding to each data in the first revenue sharing data; calculating the first revenue sharing amount for the self-media accounts based on the first revenue sharing data and the first weight information; and sending the first revenue sharing amount to the client and displaying it through the client.
[0057] During the management of self-media accounts, each self-media account has corresponding data such as revenue from commercial orders and fan data within a statistical period. Among them, revenue from commercial orders = number of commercial orders * (selling price of commercial orders - cost of commercial orders), and fan data is the number of fan increases of the self-media account.
[0058] Each data point in the first revenue sharing data has a corresponding first weight information for revenue sharing. The revenue sharing amount of a self-media account includes the sum of the revenue sharing amounts of each data point. For example, the revenue sharing amount of a self-media account for the first revenue sharing data = business order revenue data * corresponding first weight information + fan data * corresponding first weight information.
[0059] In one embodiment, after step S103, the following processing is further included: obtaining second revenue sharing data based on the video content, the second revenue sharing data including like data, forward data, and favorite data; obtaining second weight information corresponding to the revenue sharing of each data in the second revenue sharing data; calculating the second revenue sharing amount for the creator corresponding to the video content based on the second revenue sharing data and the second weight information; and sending the second revenue sharing amount to the client and displaying it through the client.
[0060] The revenue sharing calculation for self-media accounts also includes the revenue from published content. The second revenue sharing data is the cumulative data within the statistical period. For example, the revenue sharing amount for a self-media account based on the second revenue sharing data = likes * corresponding second weight information + reposts * corresponding second weight information + favorites * corresponding second weight information.
[0061] Users can view the revenue sharing amount for each self-media account through the client, which improves the convenience of managing multiple self-media accounts.
[0062] In one embodiment, the process further includes: obtaining the time value with the most likes during video playback; obtaining the frame of the video content corresponding to the time value; sending the frame to the self-media account corresponding to the video content, and responding to the creator's input of the creative key information of the frame; and displaying the creative key information to other creators corresponding to the self-media account based on the self-media account login interface.
[0063] Each self-media account may correspond to multiple content creators, meaning that the same self-media account is jointly managed by multiple creators. During data management, the content that is more popular with the audience can be statistically analyzed periodically and shared among the multiple creators of the self-media account. This allows creators to understand the audience's preferences in a timely manner, thereby improving the convenience of content creation for multiple creators on the self-media account.
[0064] For example, if a video is ten minutes long and receives the most likes at the five-minute mark, it means that the content in the fifth minute or the period preceding it has gained significant audience approval. The creator is then alerted using frames from the fifth minute, allowing them to quickly understand the content up to that point. The creator can then input key creative information, either manually or via voice.
[0065] Self-media accounts specialize in different areas, so they can be categorized according to these areas. For example, account A might be a science popularization account, while account B might be a parenting / baby care account. With the creator's permission, you can share popular content with other creators in the same field.
[0066] In one embodiment, the following processing is included before step S104: in response to the client's TCP connection triggering action, a TCP long connection is established with the client; based on the TCP long connection, security authentication is performed with the client and an encryption algorithm is negotiated.
[0067] Among them, users are either managers of the operating company pre-set by the server or creators with the permission to view the revenue sharing amount.
[0068] The client sends a TCP connection request to the server. The server parses the TCP connection request and determines whether the client is a legitimate client. If the client is a legitimate client, the server establishes a long TCP connection with the client.
[0069] The encryption algorithm negotiated between the server and the client can be a symmetric encryption algorithm, an asymmetric encryption algorithm, or other encryption algorithms; this embodiment does not impose any specific limitations. Security verification between the server and the client ensures the security of data transmission.
[0070] Based on the same technical concept, this application also provides a data management device 200 for self-media accounts, the management device 200 including:
[0071] The first acquisition module 201 is used to acquire the running data of multiple self-media accounts and write the running data of each self-media account into the initial memory space corresponding to the self-media account.
[0072] The second acquisition module 202 is used to allocate a first backup memory space to the self-media account that has reached the first memory threshold when the amount of initial memory space used for any self-media account reaches the first memory threshold. The backup memory space and the initial memory space together constitute the current memory space.
[0073] Optionally, the management device further includes:
[0074] The first response module is used to respond to the clearing operation of the spam dataset of any self-media account and obtain the spam data currently stored in the memory space corresponding to the self-media account.
[0075] The cleanup module is used to remove junk data and calculate the amount of memory space used by the self-media account after clearing junk data.
[0076] The allocation reduction module is used to reduce the allocated spare memory space of a self-media account when the used amount of the current memory space corresponding to the self-media account is less than a second memory threshold, wherein the second memory threshold is less than a first memory threshold.
[0077] Optionally, the management device further includes:
[0078] The third acquisition module is used to acquire the first revenue sharing data of multiple self-media accounts. The first revenue sharing data includes commercial order revenue data and fan data.
[0079] The fourth acquisition module is used to acquire the first weight information corresponding to each data point in the first data segmentation.
[0080] The first calculation module is used to calculate the first revenue share of the self-media account based on the first revenue share data and the first weight information.
[0081] The first display module is used to send the first share of the amount to the client and display it through the client.
[0082] Optionally, the management device further includes:
[0083] The fifth acquisition module is used to acquire the second revenue sharing data based on the video content. The second revenue sharing data includes like data, forward data, and favorite data.
[0084] The sixth acquisition module is used to acquire the second weight information corresponding to each data point in the second data segmentation.
[0085] The second calculation module is used to calculate the second revenue share for the creator of the video content based on the second revenue share data and the second weight information.
[0086] The second display module is used to send the second share amount to the client and display it through the client.
[0087] Optionally, the management device further includes:
[0088] The seventh acquisition module is used to obtain the time value with the most likes during the video playback process;
[0089] The eighth acquisition module is used to acquire the frame of the video content corresponding to the time value;
[0090] The second response module is used to send the frame to the self-media account corresponding to the video content and respond to the creator's input of the key creative information of the frame.
[0091] The third display module is used to display the key creative information to other creators corresponding to the self-media account based on the self-media account login interface.
[0092] Optionally, the management device further includes:
[0093] The third response module is used to respond to the client's TCP connection triggering action and establish a long TCP connection with the client;
[0094] The authentication module is used to perform secure authentication with the client and negotiate encryption algorithms based on a TCP long connection.
[0095] Based on the same technical concept, this application also provides a data management device 300 for self-media accounts. The management device 300 includes a memory 301, a processor 302, and a communication bus 303; the memory 301 and the processor 302 are connected through the communication bus 303. The memory 301 stores a computer program that can be loaded and executed by the processor 302 to perform a data management method based on self-media accounts.
[0096] The memory 301 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 301 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing a data management method based on social media accounts, etc. The data storage area may store data involved in the data management method based on social media accounts, etc.
[0097] Processor 302 may include one or more processing cores. Processor 302 executes instructions, programs, code sets, or instruction sets stored in memory 301, and calls data stored in memory 301 to perform various functions and process data as described in this application. Processor 302 may be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), controller, microcontroller, and microprocessor. It is understood that for different devices, the electronic devices used to implement the above-described processor functions may also be other types, and this application embodiment does not specifically limit the specific implementation.
[0098] The communication bus 303 may include a path for transmitting information between the aforementioned components. The communication bus 303 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 303 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The symbol is represented by a single double arrow, but this does not mean that there is only one bus or one type of bus.
[0099] Based on the same technical concept, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that can be loaded by a processor and executed as described in the above embodiments for the data management method based on self-media accounts.
[0100] In this embodiment, the computer-readable storage medium can be a tangible device that holds and stores instructions used by an instruction execution device. The computer-readable storage medium can be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. Specifically, the computer-readable storage medium can be a portable computer disk, a hard disk, a USB flash drive, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), staging random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory stick, floppy disk, optical disk, magnetic disk, mechanical encoding device, or any combination thereof.
[0101] The terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0102] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the foregoing application concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions claimed in this application.
Claims
1. A data management method based on self-media accounts, characterized in that, include: The system acquires the operational data of multiple self-media accounts and writes the operational data of each self-media account into the initial memory space corresponding to that self-media account. If the amount of initial memory space used by any of the aforementioned self-media accounts reaches a first memory threshold, then a first backup memory space is allocated to the self-media account that has reached the first memory threshold, wherein the backup memory space and the initial memory space together constitute the current memory space; In response to a garbage dataset cleanup operation for any of the aforementioned self-media accounts, the garbage data currently stored in the memory space corresponding to the self-media account is obtained; Clear the junk data and calculate the amount of memory space used by the self-media account after clearing the junk data; If the amount of memory space currently used by the self-media account is less than the second memory threshold, then the allocated spare memory space of the self-media account is reduced, wherein the second memory threshold is less than the first memory threshold. Obtain first revenue sharing data from multiple self-media accounts, the first revenue sharing data including commercial order revenue data and fan data; Obtain the first weight information corresponding to each data point in the first data segmentation; The first revenue share amount of the self-media account is calculated based on the first revenue share data and the first weight information. The first share of the amount is sent to the client and displayed through the client.
2. The method according to claim 1, characterized in that, After calculating the revenue share of the self-media account based on the first revenue share data and the first weighting information, the method further includes: The second revenue-sharing data is obtained based on the video content, and the second revenue-sharing data includes likes, shares, and favorites. Obtain the second weight information corresponding to each data point in the second data segmentation; The second revenue share for the creator of the video content is calculated based on the second revenue share data and the second weight information. The second share amount is sent to the client and displayed through the client.
3. The method according to any one of claims 1-2, characterized in that, Also includes: Get the time value with the most likes during the video playback; Obtain the frame of the video content corresponding to the time value; The frame is sent to the social media account corresponding to the video content, and the creator corresponding to the video content responds to the input of the key creative information of the frame. The key creative information will be displayed to other creators corresponding to the self-media account through the self-media account login interface.
4. The method according to claim 1, characterized in that, Before sending the share of the revenue to the client and displaying it through the client, the process also includes: In response to the client's TCP connection trigger action, establish a long-lived TCP connection with the client; Based on the TCP long connection, the system performs security authentication with the client and negotiates an encryption algorithm.
5. A data management device based on self-media accounts, characterized in that, include: The first acquisition module is used to acquire the running data of multiple self-media accounts and write the running data of each self-media account into the initial memory space corresponding to the self-media account. The second acquisition module is used to allocate a first backup memory space to the self-media account that has reached the first memory threshold when the usage of the initial memory space corresponding to any of the self-media accounts reaches the first memory threshold, wherein the backup memory space and the initial memory space together constitute the current memory space. The first response module is used to respond to the clearing operation of the spam dataset of any self-media account and obtain the spam data currently stored in the memory space corresponding to the self-media account. The cleanup module is used to remove junk data and calculate the amount of memory space used by the self-media account after clearing junk data. The allocation reduction module is used to reduce the allocated spare memory space of a self-media account when the used amount of the current memory space corresponding to the self-media account is less than the second memory threshold, wherein the second memory threshold is less than the first memory threshold. The third acquisition module is used to acquire the first revenue sharing data of multiple self-media accounts. The first revenue sharing data includes commercial order revenue data and fan data. The fourth acquisition module is used to acquire the first weight information corresponding to each data point in the first data segmentation. The first calculation module is used to calculate the first revenue share of the self-media account based on the first revenue share data and the first weight information. The first display module is used to send the first share of the amount to the client and display it through the client.
6. A data management device based on self-media accounts, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer program is stored that can be loaded by a processor and executed according to any one of claims 1 to 4.
Citation Information
Patent Citations
Distribution method and system for storage space
CN107632791A
Data processing method, server and storage medium
CN111459969A