CN114338698A - Mixed business operation data processing method, device and equipment based on virtual headquarter - Google Patents

Mixed business operation data processing method, device and equipment based on virtual headquarter Download PDF

Info

Publication number
CN114338698A
CN114338698A CN202210207223.XA CN202210207223A CN114338698A CN 114338698 A CN114338698 A CN 114338698A CN 202210207223 A CN202210207223 A CN 202210207223A CN 114338698 A CN114338698 A CN 114338698A
Authority
CN
China
Prior art keywords
operation data
virtual
processing
client
data
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
CN202210207223.XA
Other languages
Chinese (zh)
Other versions
CN114338698B (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.)
Shenzhen Sixun Software Co ltd
Original Assignee
Shenzhen Sixun Software 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 Shenzhen Sixun Software Co ltd filed Critical Shenzhen Sixun Software Co ltd
Priority to CN202210207223.XA priority Critical patent/CN114338698B/en
Publication of CN114338698A publication Critical patent/CN114338698A/en
Application granted granted Critical
Publication of CN114338698B publication Critical patent/CN114338698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method, a device and equipment for processing mixed operation data based on a virtual headquarter, wherein the method comprises the following steps: splitting the mixed operation data from the client to obtain an operation data set containing operation data corresponding to each service type, if the operation data set is judged to be matched with the operation registration information table, respectively inputting the operation data in the operation data set into a virtual server corresponding to each service type to process to obtain a data processing result, and if a virtual headquarter analysis pool corresponding to the client exists, storing the data processing result into the virtual headquarter analysis pool and performing analysis processing to obtain a data analysis result corresponding to the client. The invention belongs to the technical field of internet, and inputs the operation data of different service types into respective corresponding virtual servers for processing, and processes the mixed operation data according to the service type dimension, thereby avoiding the problem of unbalanced distribution of processing resources in the servers and greatly improving the processing efficiency of the mixed operation data.

Description

Mixed business operation data processing method, device and equipment based on virtual headquarter
Technical Field
The invention relates to the technical field of internet, in particular to a method, a device and equipment for processing mixed operation data based on a virtual headquarter.
Background
The intelligent payment based on the internet technology is applied to a large number of scenes, and with the increasing share of the payment application in daily payment, merchants urgently need to process a large amount of business data brought along with the intelligent payment, for example, a cloud server is configured with data processing services corresponding to merchants, and the business data from the merchants are processed to obtain corresponding processing results. However, in the prior art, each merchant is independently configured with a corresponding data processing service, and transaction flows of different merchants have large differences, which causes differences in demands of the merchants for the data processing services, and transaction flows of the same merchant in different time periods also have large differences, that is, the demands of the same merchant for the data processing services in different time periods also have differences, which causes high occupancy rate of data processing service resources of the merchants in the prior art method, and even causes a situation that a server is idle due to exceeding the actual processing capacity of the data processing server, and also causes a situation that the occupancy rate of the data processing service resources of the merchant is low, which causes long-time idle of the server resources; finally, the problem that the processing resources cannot be matched with the transaction flow is caused, and the allocation efficiency of the processing resources is low, so that the processing efficiency of the operation data is directly influenced. Therefore, the method for processing the operation data based on the cloud server in the prior art has the problem of low processing efficiency.
Disclosure of Invention
The embodiment of the invention provides a method, a device and equipment for processing mixed operation data based on a virtual headquarter, and aims to solve the problem of low processing efficiency of a method for processing operation data based on a cloud server in the prior art.
In a first aspect, an embodiment of the present invention provides a method for processing mixed operation data based on a virtual headquarters, where the method includes:
if the mixed operation data from the client side is received, splitting the mixed operation data according to a preset data splitting rule to obtain an operation data set containing operation data corresponding to each service type;
judging whether the operation data set is matched with a preset operation registration information table or not;
if the operation data set is matched with the operation registration information table, respectively inputting the operation data of each service type in the operation data set into a virtual server corresponding to each service type for processing so as to obtain a data processing result corresponding to each operation data;
judging whether a virtual headquarter analysis pool corresponding to the client exists or not;
if a virtual headquarter analysis pool corresponding to the client exists, storing a data processing result corresponding to the client into the virtual headquarter analysis pool;
and if the preset analysis time point is reached, analyzing and processing the data processing result in each virtual headquarter analysis pool to obtain a corresponding data analysis result.
In a second aspect, an embodiment of the present invention provides a virtual headquarters-based mixed operation data processing apparatus, including:
the mixed operation data splitting unit is used for splitting the mixed operation data according to a preset data splitting rule if the mixed operation data from the client is received, so as to obtain an operation data set containing operation data corresponding to each service type;
the management data set judging unit is used for judging whether the management data set is matched with a preset management registration information table or not;
a data processing result obtaining unit, configured to, if the operation data set matches the operation registration information table, input the operation data of each service type in the operation data set into a virtual server corresponding to each service type, and process the operation data to obtain a data processing result corresponding to each operation data;
the client judging unit is used for judging whether a virtual headquarter analysis pool corresponding to the client exists or not;
a data processing result storage unit, configured to store a data processing result corresponding to the client in a virtual headquarters analysis pool if the virtual headquarters analysis pool corresponding to the client exists;
and the analysis processing unit is used for analyzing and processing the data processing result in each virtual headquarters analysis pool to obtain a corresponding data analysis result if a preset analysis time point is reached.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the virtual headquarters-based mixed business data processing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for processing virtual headquarters-based mixed business operation data according to the first aspect is implemented.
The embodiment of the invention provides a method, a device and equipment for processing mixed operation data based on a virtual headquarters, wherein the method comprises the steps of splitting the mixed operation data from a client to obtain an operation data set containing operation data corresponding to each service type, respectively inputting the operation data in the operation data set into a virtual server corresponding to each service type to process to obtain a data processing result if the operation data set is judged to be matched with an operation registration information table, and storing the data processing result into the virtual headquarters analysis pool and analyzing and processing to obtain a data analysis result corresponding to the client if the virtual headquarters analysis pool corresponding to the client exists. By the method, the operation data can be obtained by splitting based on the service type dimension, the operation data of different service types are input into the corresponding virtual servers for processing, the virtual headquarter analysis pool corresponding to each client is constructed for storing the corresponding data processing result, the mixed operation data can be processed according to the service type dimension, the problem of unbalanced distribution of processing resources of different merchants is avoided, and the processing efficiency of the mixed operation data is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a virtual headquarters-based mixed operation data processing method according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of the virtual headquarters-based mixed operation data processing method according to the embodiment of the present invention;
FIG. 3 is a schematic flow chart of a virtual headquarters-based method for processing mixed business data according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a virtual headquarters-based mixed operation data processing method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of a hybrid operation data processing method based on a virtual headquarters according to an embodiment of the present invention;
FIG. 6 is a schematic view of another sub-flow of a virtual headquarters-based mixed operation data processing method according to an embodiment of the present invention;
FIG. 7 is a schematic view of another sub-flow of a method for processing data of a virtual headquarters-based mixed operation according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of a virtual headquarters-based mixed operation data processing method according to another embodiment of the present invention;
fig. 9 is a schematic block diagram of a virtual headquarters-based mixed business operation data processing apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic flow chart of a mixed operation data processing method based on a virtual headquarters according to an embodiment of the present invention, and fig. 2 is a schematic application scenario diagram of the mixed operation data processing method based on the virtual headquarters according to the embodiment of the present invention; the mixed operation data processing method based on the virtual headquarters is applied to a cloud server 10, the cloud server 10 and a client 20 establish network connection to realize transmission of data information, at least one virtual server is configured in the cloud server 10, the virtual server is a non-entity server configured in the cloud server 10, the cloud server 10 can flexibly adjust the configuration of the virtual server according to operation data processing requirements, and the client 20 is a terminal device used for inputting mixed operation data values to be processed into the cloud server 10, such as a store, a desktop computer, a notebook computer, a tablet computer or a mobile phone and other operation data reporting terminals configured in an operation enterprise; the cloud server 10 is a server side that can perform centralized analysis processing on the mixed business data from the client 20, such as a business data processing center built by an enterprise or a government department (e.g., a tax department). As shown in FIG. 1, the method includes steps S110 to S160.
S110, if the mixed operation data from the client side is received, splitting the mixed operation data according to a preset data splitting rule to obtain an operation data set containing operation data corresponding to each service type.
The client can send the mixed operation data to the cloud server, the cloud server can split the mixed operation data according to the data splitting rule after receiving the mixed operation data, specifically, the operation data sent by the client to the cloud server can contain one service type or a plurality of service types, and for example, the mixed operation data sent to the cloud server from a comprehensive market can contain operation data corresponding to three service types of clothing sales, catering and entertainment; the business data in the mixed operation data can also correspond to multi-level business types, the multi-level business types of the business data in the mixed operation data can also be represented by adopting a tree structure, and for example, catering can be further subdivided into a plurality of business types such as beverage light food, desserts, snacks, buffet meals and the like. The data splitting rule comprises a specific rule which can be split according to the service type, each service type is uniquely corresponding to one type code, the data splitting rule can correspondingly comprise a type code which needs to be split, the type code in the data splitting rule can be a type code corresponding to a first-level service type, or can be a type code corresponding to a second-level service type subdivided under the first-level service type or a type code corresponding to a third-level service type, when the mixed operation data is split, the mixed operation data can be split into operation data corresponding to the service type of each type code according to the type code contained in the data splitting rule, the operation data corresponding to each service type after splitting is obtained to obtain an operation data set, and the operation data set obtained by splitting in the subsequent processing process is accurate.
And S120, judging whether the operation data set is matched with a preset operation registration information table.
The cloud server is also pre-configured with an operation registration information table, the operation registration information table is used for storing registered server information, the cloud server is configured with a virtual server used for processing operation data, the server information corresponding to the virtual server in an available state is registered and stored in the operation registration information table, that is, whether the operation data set is matched with the operation registration information table can be judged, that is, whether the service types of the operation data set are all contained in the operation registration information table is judged, and if the service types in the operation data set are all contained in the operation registration information table, it is indicated that the currently configured virtual server can process the operation data in the operation data set. If the business types in the business data set are not all contained in the business registration information table, it indicates that part of the business data in the business data set does not have a corresponding available virtual server.
In an embodiment, as shown in fig. 3, step S120 is followed by steps S1201, S1202 and S1203.
S1201, if the operation data set is not matched with the operation registration information table, acquiring a service processing architecture corresponding to the service type which is not contained in the operation registration information table; s1202, constructing a corresponding virtual server according to the service processing architecture; s1203, obtaining server information of the virtual server and adding the server information to the management registration information table.
The cloud server also stores a service processing frame corresponding to each service type in advance, if the operation data set is not matched with the operation registration information table, the service processing frame corresponding to the service type which is not contained in the operation registration information table can be obtained, and the service processing frame is frame configuration information such as processing logic, method function, interface configuration and the like related to the processing of the operation data corresponding to the service type. The corresponding virtual server can be constructed according to the service processing framework corresponding to the corresponding service type, the basic server resources are distributed to the virtual servers which are not constructed, and one or more virtual servers corresponding to the same service type can be used. And acquiring the server information of each constructed virtual server and adding the server information to an operation registration information table, namely registering the virtual servers, wherein the operation registration information table comprises information such as a server number, a service type, an input parameter data structure, a processing result data structure and the like corresponding to each virtual server.
And S130, if the operation data set is matched with the operation registration information table, respectively inputting the operation data of each service type in the operation data set into the virtual server corresponding to each service type for processing so as to obtain a data processing result corresponding to each operation data.
The operation data of each service type in the operation data set respectively belong to the virtual server corresponding to the corresponding service type for processing, the virtual server can process the operation data according to the processing process corresponding to the corresponding service type so as to obtain a data processing result, each operation data can obtain a corresponding data processing result after being input into the corresponding virtual server for processing, and one virtual server can simultaneously process one or more operation data.
In one embodiment, as shown in fig. 5, step S130 includes sub-steps S131 and S132.
S131, respectively inputting the operation data in the operation data set into a processing queue corresponding to each service type; s132, according to the sequence of the operation data in each processing queue, sequentially inputting the operation data into the virtual server corresponding to the processing queue for processing, and obtaining a data processing result corresponding to each operation data.
The cloud server can configure processing queues corresponding to the service types contained in the data splitting rules, that is, each service type in the data splitting rules corresponds to one processing queue, and can input the operation data in the operation data set into the corresponding processing queues respectively, and sequence the operation data contained in the processing queues according to the input time, for example, the operation data with longer input time is sequenced more ahead, or sequence the operation data contained in the processing queues according to other specific sequencing rules; each processing queue corresponds to a virtual server of a corresponding service type, and the operation data in the processing queue can be sequentially input into the corresponding virtual server for processing based on the sorting of the operation data in the processing queue and according to the first-in first-out principle, wherein one processing queue can correspond to one or more virtual servers.
In an embodiment, as shown in fig. 6, step S131 is preceded by steps S1301 and S1302.
S1301, generating a client identification of a client corresponding to the operation data set; s1302, adding the client identification to each business data in the business data set.
In order to facilitate the statistics of the processing results of the operation data of different clients, the client identification of the client corresponding to the operation data set can be generated, such as obtaining client information corresponding to the client, and generating a corresponding client identifier based on the client information, for example, a character string is obtained by acquiring a combination of a port number of a client and a login user account, Hash operation (Hash) is performed on the character string obtained by the combination to obtain summary information, the summary information is used as a corresponding client identifier, the obtained client identifier is a character string which has a fixed length and consists of numbers and letters, the client identifier is obtained by adopting the method, when the login users of the client are switched, different client identifications can be correspondingly obtained, so that different login users of the same client can be distinguished through the client identifications. The generated client identification is added as an additional data item to each business data in the business data set, and the virtual server does not involve the auxiliary data item in the process of processing the business data.
In an embodiment, as shown in fig. 7, step S131 includes substeps S1311, S1312, S1313, and S1314.
S1311, generating a queue coefficient corresponding to the operation data set and the client information of the client according to a preset queue coefficient generation rule.
The mixed operation data of different clients may have different urgency, and in order to distinguish the operation data of different clients, corresponding calculation basic information can be acquired from the client information and the operation data set of the client, and a queue coefficient corresponding to the calculation basic information is generated according to a queue coefficient generation rule.
For example, information such as the number of service types and the number of pieces of operation data can be obtained from the operation data set, and the level of the login user can be obtained from the client information, for example, the level of the login user can be correspondingly divided into one level, two levels, three levels, four levels and five levels; the number of the service types, the number of the operation data and the grade of the login user are combined to be used as calculation basic information, and a queue coefficient generation rule can be expressed by adopting a formula (1):
Figure 728492DEST_PATH_IMAGE001
(1);
wherein, S is the calculated queue coefficient, P is the value of the login user level (if the login user level is one level, the corresponding value is "1"), r is the number of the service types, t is the number of the operation data, and e is the natural logarithm base number.
S1312, adding the queue coefficient as a coefficient label to each business data in the business data set.
The obtained queue coefficient can be added to each business data in the business data set as a coefficient label, the coefficient label can also be added to each business data in the business data set as an additional data item, and the coefficient label is not involved in the process of processing the business data by the virtual server.
S1313, the operation data added with the coefficient labels are respectively input into a processing queue corresponding to each service type.
And respectively inputting the operation data added with the coefficient labels into a processing queue corresponding to the service type of each operation data, wherein before the operation data added with the coefficient labels are input, the processing queue may contain the operation data to be processed and may be empty.
And S1314, sorting and sorting the operation data contained in each processing queue according to the coefficient labels.
Each processing queue can correspondingly contain one or more to-be-processed operation data, each operation data correspondingly contains a coefficient tag, and the operation data can be sorted according to the coefficient tags of the operation data contained in the processing queue, for example, the operation data can be sorted and sorted from large to small according to the operation coefficients (in the embodiment, the operation data are not sorted according to the input time in the embodiment), so that the processing queue after sorting and integration is obtained. The new operation data can be sorted and sorted once after being newly added in the processing queue, and the operation data contained in the processing queue does not need to be sorted and sorted when the operation data is not newly added in the processing queue.
And S140, judging whether a virtual headquarter analysis pool corresponding to the client exists or not.
The method can judge whether a virtual headquarter analysis pool corresponding to the client exists in the cloud server, wherein the virtual headquarter analysis pool is a data pool which is constructed in the cloud server and used for storing and analyzing the data processing result corresponding to each client, and the virtual headquarter analysis pool configured in the cloud server can be used as the virtual headquarter of each client, so that the convenience of processing the mixed operation data is improved.
The data processing results of the same client may be stored in the same virtual headquarters analysis pool, and the data processing results corresponding to the same client but having different client identifiers may be stored in different areas of the same virtual headquarters analysis pool, that is, the virtual headquarters analysis pool may be divided into a plurality of areas, and each area is used for storing the data processing result corresponding to one client identifier.
In one embodiment, as shown in fig. 4, step S140 is followed by steps S1401 and S1402.
S1401, if the virtual headquarters analysis pool corresponding to the client does not exist, acquiring client information corresponding to the client; and S1402, creating and obtaining a corresponding virtual headquarter analysis pool according to the client information.
If the virtual headquarter analysis pool corresponding to the client does not exist in the cloud server, client information corresponding to the client can be obtained, and the corresponding virtual headquarter analysis pool is created and obtained based on the client information. Specifically, the information of the business scale, the business classification, and the like in the client information can be acquired, and the virtual headquarters analysis pool matched with the acquired information is created based on the acquired information, that is, the storage space, the processing resource, and the like of the virtual headquarters analysis pool obtained by creation are matched with the data of the business scale and the business type included in the business classification.
S150, if the virtual headquarters analysis pool corresponding to the client exists, storing the data processing result corresponding to the client into the virtual headquarters analysis pool.
And if the virtual headquarter analysis pool corresponding to the client exists, directly storing a data processing result corresponding to the client into the virtual headquarter analysis pool, and enabling the external equipment to access the cloud server and view data information stored in the virtual headquarter analysis pool.
And S160, if the preset analysis time point is reached, analyzing and processing the data processing result in each virtual headquarter analysis pool to obtain a corresponding data analysis result.
If the preset analysis time point is reached, the data processing results in each virtual headquarters analysis pool can be analyzed and processed, for example, the data processing results are classified and counted according to the service types, the data processing results are subjected to analysis and processing such as time-division counting and turnover counting according to the time periods, the obtained data analysis results can present the past operation conditions of the merchants, and the adjustment direction of the subsequent operation modes of the merchants is guided.
In one embodiment, as shown in fig. 8, step S160 is followed by steps S1601, S1602, and S1603.
S1601, monitoring the virtual servers configured in the cloud server in real time to acquire server resource information corresponding to each service type.
The configured virtual servers can be monitored in real time to obtain the server resource information of the virtual server corresponding to each service type. The server resource information includes information such as the number of servers, CPU occupancy rate, memory occupancy rate, concurrent processing amount and the like.
S1602, judging whether the server resource information of each service type meets preset server adjustment conditions.
Whether the server resource information of the service type meets preset server adjustment conditions can be judged, for example, whether the average occupancy rate of the CPU is in a preset interval or not, whether the occupancy rate variance of the CPU is not less than a preset variance threshold or not, whether the occupancy rate of the memory is in the preset interval or not and whether the occupancy rate variance of the memory is not less than the preset variance threshold or not are judged, and therefore whether the server resource information of each service type meets the server adjustment conditions or not is judged.
If the CPU average occupancy rate is not in the preset interval, the CPU occupancy rate variance is smaller than the preset variance threshold, the memory occupancy rate is not in the preset interval or the memory occupancy rate variance is smaller than the preset variance threshold, judging that the server resources of the service type meet the server adjustment condition, otherwise, judging that the server resources of the service type do not meet the server adjustment condition.
S1603, if the server resource information of the service type satisfies the server adjustment condition, perform configuration adjustment on the virtual server configured in the cloud server and corresponding to the service type.
If the server resource of a certain service type meets the server adjustment condition, the configuration adjustment can be performed on the virtual server corresponding to the service type, and the configuration adjustment comprises the increase and decrease of the number of the virtual servers, the increase and decrease of CPU processors, the expansion and decrease of memory space, the increase and decrease of concurrent processing amount and the like. By acquiring the server resources of each service type and configuring and adjusting the corresponding virtual server according to the server resource condition, the processing resources of the virtual server of the corresponding service type can be adjusted according to the actual processing capacity of each service type, so that the problem that the resource occupancy rate of the virtual server is too low or too high is avoided, the processing resources of the virtual server in the cloud server are matched with the operation quantity to be processed, the allocation efficiency of the processing resources in the cloud server is improved, and the processing efficiency of mixed operation data is further improved.
For example, if the average occupancy rate of the CPU in the server resource of a certain service type is smaller than the minimum value of the corresponding preset interval, and the memory occupancy rate is smaller than the minimum value of the corresponding preset interval, the number of virtual servers is reduced to adjust the configuration of the virtual server corresponding to the service type; if the average CPU occupancy rate in the server resources of a certain service type is greater than the maximum value of the corresponding preset interval and the CPU occupancy rate variance is not less than the corresponding variance threshold, the CPU processing resources in each virtual server are increased to adjust the configuration of the virtual server corresponding to the service type.
Here, steps S1601 to S1603 may be executed at any time, that is, steps S1601 to S1603 may be executed between any steps between step S110 and step S160.
In the method for processing the mixed operation data based on the virtual headquarters, provided by the embodiment of the invention, the mixed operation data from the client is split to obtain an operation data set containing operation data corresponding to each service type, if the operation data set is judged to be matched with the operation registration information table, the operation data in the operation data set are respectively input into the virtual server corresponding to each service type to be processed to obtain a data processing result, and if a virtual headquarters analysis pool corresponding to the client exists, the data processing result is stored in the virtual headquarters analysis pool and is analyzed to obtain a data analysis result corresponding to the client. By the method, the operation data can be obtained by splitting based on the service type dimension, the operation data of different service types are input into the corresponding virtual servers for processing, the virtual headquarter analysis pool corresponding to each client is constructed for storing the corresponding data processing result, the mixed operation data can be processed according to the service type dimension, the problem of unbalanced distribution of processing resources of different merchants is avoided, and the processing efficiency of the mixed operation data is greatly improved.
The embodiment of the invention also provides a virtual headquarters-based mixed operation data processing device, which can be configured in the cloud server and is used for executing any embodiment of the virtual headquarters-based mixed operation data processing method. Specifically, referring to fig. 9, fig. 9 is a schematic block diagram of a virtual headquarters-based mixed operation data processing apparatus according to an embodiment of the present invention.
As shown in fig. 9, the virtual headquarters-based mixed business data processing apparatus 100 includes a mixed business data splitting unit 110, a business data set judgment unit 120, a data processing result acquisition unit 130, a client judgment unit 140, a data processing result storage unit 150, and an analysis processing unit 160.
The mixed operation data splitting unit 110 is configured to split the mixed operation data according to a preset data splitting rule if the mixed operation data from the client is received, so as to obtain an operation data set including operation data corresponding to each service type.
And an operation data set judgment unit 120, configured to judge whether the operation data set matches a preset operation registration information table.
In one embodiment, the virtual headquarters-based mixed business operation data processing apparatus 100 further comprises a subunit: a service processing architecture obtaining unit, configured to obtain a service processing architecture corresponding to a service type that is not included in the operation registration information table if the operation data set is not matched with the operation registration information table; the virtual server construction unit is used for constructing a corresponding virtual server according to the business processing architecture; and the server information adding unit is used for acquiring the server information of the virtual server and adding the server information to the operation registration information table.
A data processing result obtaining unit 130, configured to, if the operation data set matches the operation registration information table, input the operation data of each service type in the operation data set into the virtual server corresponding to each service type, and process the operation data to obtain a data processing result corresponding to each operation data.
In a specific embodiment, the data processing result obtaining unit 130 includes sub-units: the operation data input unit is used for respectively inputting the operation data in the operation data set into a processing queue corresponding to each service type; and the operation data processing unit is used for sequentially inputting the operation data into the virtual server corresponding to the processing queue for processing according to the sequence of the operation data in each processing queue to obtain a data processing result corresponding to each operation data.
In a specific embodiment, the data processing result obtaining unit 130 includes sub-units: the client identification generating unit is used for generating a client identification of a client corresponding to the operation data set; and the client identification adding unit is used for adding the client identification to each business data in the business data set.
In one embodiment, the business data input unit includes a subunit: the queue coefficient generating unit is used for generating a queue coefficient corresponding to the operation data set and the client information of the client according to a preset queue coefficient generating rule; a coefficient tag adding unit configured to add the queue coefficient as a coefficient tag to each of the business data in the business data set; the data input unit is used for respectively inputting the operation data added with the coefficient labels into a processing queue corresponding to each service type; and the sorting and sorting unit is used for sorting and sorting the operation data contained in each processing queue according to the coefficient label.
A client determining unit 140, configured to determine whether a virtual headquarters analysis pool corresponding to the client exists.
In one embodiment, the virtual headquarters-based mixed business operation data processing apparatus 100 further comprises a subunit: a client information obtaining unit, configured to obtain client information corresponding to the client if a virtual headquarters analysis pool corresponding to the client does not exist; and the virtual headquarter analysis pool creating unit is used for creating and obtaining a corresponding virtual headquarter analysis pool according to the client information.
A data processing result storage unit 150, configured to store the data processing result corresponding to the client in the virtual headquarters analysis pool if the virtual headquarters analysis pool corresponding to the client exists.
And the analysis processing unit 160 is configured to, if the preset analysis time point is reached, perform analysis processing on the data processing result in each virtual headquarters analysis pool to obtain a corresponding data analysis result.
In one embodiment, the virtual headquarters-based mixed business operation data processing apparatus 100 further comprises a subunit: a server resource information obtaining unit, configured to monitor, in real time, a virtual server configured in the cloud server to obtain server resource information corresponding to each service type; a server resource information judging unit, configured to judge whether the server resource information of each service type satisfies a preset server adjustment condition; and the virtual server configuration adjusting unit is used for performing configuration adjustment on the virtual server configured in the cloud server and corresponding to the service type if the server resource information of the service type meets the server adjustment condition.
The mixed operation data processing device based on the virtual headquarters provided by the embodiment of the invention applies the mixed operation data processing method based on the virtual headquarters, the mixed operation data from the client side is split to obtain the operation data set containing the operation data corresponding to each service type, if the operation data set is judged to be matched with the operation registration information table, the operation data in the operation data set are respectively input into the virtual servers corresponding to each service type to be processed to obtain the data processing result, and if the virtual headquarters analysis pool corresponding to the client side exists, the data processing result is stored into the virtual headquarters analysis pool and is analyzed to obtain the data analysis result corresponding to the client side. By the method, the operation data can be obtained by splitting based on the service type dimension, the operation data of different service types are input into the corresponding virtual servers for processing, the virtual headquarter analysis pool corresponding to each client is constructed for storing the corresponding data processing result, the mixed operation data can be processed according to the service type dimension, the problem of unbalanced distribution of processing resources of different merchants is avoided, and the processing efficiency of the mixed operation data is greatly improved.
The virtual headquarters-based mixed business data processing apparatus described above may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device may be a cloud server for executing a virtual headquarters-based mixed business data processing method to realize centralized analysis processing of mixed business data from clients.
Referring to fig. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a storage medium 503 and an internal memory 504.
The storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to execute a virtual headquarters-based mixed business data processing method, wherein the storage medium 503 may be a volatile storage medium or a non-volatile storage medium.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can execute the virtual headquarters-based mixed operation data processing method.
The network interface 505 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 10 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 500 to which aspects of the present invention may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to run a computer program 5032 stored in the memory to implement the corresponding functions in the virtual headquarters-based mixed operation data processing method.
Those skilled in the art will appreciate that the embodiment of a computer device illustrated in fig. 10 does not constitute a limitation on the specific construction of the computer device, and that in other embodiments a computer device may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor, and in such embodiments, the structures and functions of the memory and the processor are consistent with those of the embodiment shown in fig. 10, and are not described herein again.
It should be understood that, in the embodiment of the present invention, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium. The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps included in the virtual headquarters-based mixed business operation data processing method described above.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a computer-readable storage medium, which includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned computer-readable storage media comprise: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A mixed operation data processing method based on a virtual headquarters is characterized in that the method is applied to a cloud server, the cloud server is in network connection with a client to realize the transmission of data information, at least one virtual server is configured in the cloud server, and the method comprises the following steps:
if the mixed operation data from the client side is received, splitting the mixed operation data according to a preset data splitting rule to obtain an operation data set containing operation data corresponding to each service type;
judging whether the operation data set is matched with a preset operation registration information table or not;
if the operation data set is matched with the operation registration information table, respectively inputting the operation data of each service type in the operation data set into a virtual server corresponding to each service type for processing so as to obtain a data processing result corresponding to each operation data;
judging whether a virtual headquarter analysis pool corresponding to the client exists or not;
if a virtual headquarter analysis pool corresponding to the client exists, storing a data processing result corresponding to the client into the virtual headquarter analysis pool;
and if the preset analysis time point is reached, analyzing and processing the data processing result in each virtual headquarter analysis pool to obtain a corresponding data analysis result.
2. The method of claim 1, wherein after determining whether the operation data set matches a preset operation registration information table, the method further comprises:
if the operation data set is not matched with the operation registration information table, acquiring a service processing architecture corresponding to the service type which is not contained in the operation registration information table;
constructing a corresponding virtual server according to the business processing architecture;
and acquiring the server information of the virtual server and adding the server information to the operation registration information table.
3. The method of claim 1, wherein the determining whether the virtual headquarters analysis pool corresponding to the client exists further comprises:
if the virtual headquarter analysis pool corresponding to the client does not exist, client information corresponding to the client is obtained;
and creating a corresponding virtual headquarter analysis pool according to the client information.
4. The method for processing the mixed operation data based on the virtual headquarters according to claim 1, wherein the inputting the operation data of each business type in the operation data set into the virtual server corresponding to each business type respectively for processing to obtain the data processing result corresponding to each operation data comprises:
respectively inputting the operation data in the operation data set into a processing queue corresponding to each service type;
and sequentially inputting the operation data into the virtual servers corresponding to the processing queues for processing according to the sequence of the operation data in each processing queue to obtain a data processing result corresponding to each operation data.
5. The method of claim 4, wherein before the business data in the business data set is inputted into the processing queue corresponding to each business type, the method further comprises:
generating a client identifier of a client corresponding to the operation data set;
adding the client identification to each business data in the set of business data.
6. The method for processing the mixed business operation data based on the virtual headquarters according to claim 4, wherein said inputting the business data in the business data set into the processing queue corresponding to each business type respectively comprises:
generating a queue coefficient corresponding to the operation data set and the client information of the client according to a preset queue coefficient generation rule;
adding the queue coefficient as a coefficient tag to each business data in the set of business data;
respectively inputting the operation data added with the coefficient labels into a processing queue corresponding to each service type;
and sorting the operation data contained in each processing queue according to the coefficient label.
7. The virtual headquarters-based mixed business operation data processing method as claimed in claim 1, further comprising:
monitoring a virtual server configured in the cloud server in real time to acquire server resource information corresponding to each service type;
judging whether the server resource information of each service type meets preset server adjustment conditions or not;
and if the server resource information of the service type meets the server adjustment condition, performing configuration adjustment on the virtual server configured in the cloud server and corresponding to the service type.
8. A data processing apparatus for mixed operation based on a virtual headquarters, the apparatus being configured in a cloud server, the cloud server being in network connection with a client to transmit data information, the cloud server being configured with at least one virtual server, the apparatus comprising:
the mixed operation data splitting unit is used for splitting the mixed operation data according to a preset data splitting rule if the mixed operation data from the client is received, so as to obtain an operation data set containing operation data corresponding to each service type;
the management data set judging unit is used for judging whether the management data set is matched with a preset management registration information table or not;
a data processing result obtaining unit, configured to, if the operation data set matches the operation registration information table, input the operation data of each service type in the operation data set into a virtual server corresponding to each service type, and process the operation data to obtain a data processing result corresponding to each operation data;
the client judging unit is used for judging whether a virtual headquarter analysis pool corresponding to the client exists or not;
a data processing result storage unit, configured to store a data processing result corresponding to the client in a virtual headquarters analysis pool if the virtual headquarters analysis pool corresponding to the client exists;
and the analysis processing unit is used for analyzing and processing the data processing result in each virtual headquarters analysis pool to obtain a corresponding data analysis result if a preset analysis time point is reached.
9. A computer apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the virtual headquarters-based mixed business data processing method as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program which, when executed by a processor, implements the virtual headquarters-based mixed business operation data processing method as claimed in any one of claims 1 to 7.
CN202210207223.XA 2022-03-04 2022-03-04 Mixed business operation data processing method, device and equipment based on virtual headquarter Active CN114338698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210207223.XA CN114338698B (en) 2022-03-04 2022-03-04 Mixed business operation data processing method, device and equipment based on virtual headquarter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210207223.XA CN114338698B (en) 2022-03-04 2022-03-04 Mixed business operation data processing method, device and equipment based on virtual headquarter

Publications (2)

Publication Number Publication Date
CN114338698A true CN114338698A (en) 2022-04-12
CN114338698B CN114338698B (en) 2022-06-03

Family

ID=81030621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210207223.XA Active CN114338698B (en) 2022-03-04 2022-03-04 Mixed business operation data processing method, device and equipment based on virtual headquarter

Country Status (1)

Country Link
CN (1) CN114338698B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017023143A1 (en) * 2015-08-06 2017-02-09 박재원 Business district information provision system, business district information provision server, business district information provision method, service application server, and service application server operation method
CN110689433A (en) * 2019-09-26 2020-01-14 上海克而瑞信息技术有限公司 Resource management information service system, method and device based on alliance chain
CN110716966A (en) * 2019-10-16 2020-01-21 京东方科技集团股份有限公司 Data visualization processing method and system, electronic device and storage medium
CN110895768A (en) * 2018-09-13 2020-03-20 阿里巴巴集团控股有限公司 Data processing method, device, system and storage medium
WO2020209493A1 (en) * 2019-04-11 2020-10-15 왕인범 System for integrated management of personal financial information
CN112734388A (en) * 2021-01-14 2021-04-30 辽联(北京)数据科技开发有限公司 Multifunctional tax collection guarantee system with wide coverage and application terminal
CN113850537A (en) * 2021-12-01 2021-12-28 深圳市思迅软件股份有限公司 Multi-state mixed operation data management system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017023143A1 (en) * 2015-08-06 2017-02-09 박재원 Business district information provision system, business district information provision server, business district information provision method, service application server, and service application server operation method
CN110895768A (en) * 2018-09-13 2020-03-20 阿里巴巴集团控股有限公司 Data processing method, device, system and storage medium
WO2020209493A1 (en) * 2019-04-11 2020-10-15 왕인범 System for integrated management of personal financial information
CN110689433A (en) * 2019-09-26 2020-01-14 上海克而瑞信息技术有限公司 Resource management information service system, method and device based on alliance chain
CN110716966A (en) * 2019-10-16 2020-01-21 京东方科技集团股份有限公司 Data visualization processing method and system, electronic device and storage medium
CN112734388A (en) * 2021-01-14 2021-04-30 辽联(北京)数据科技开发有限公司 Multifunctional tax collection guarantee system with wide coverage and application terminal
CN113850537A (en) * 2021-12-01 2021-12-28 深圳市思迅软件股份有限公司 Multi-state mixed operation data management system

Also Published As

Publication number Publication date
CN114338698B (en) 2022-06-03

Similar Documents

Publication Publication Date Title
US11968105B2 (en) Systems and methods for social graph data analytics to determine connectivity within a community
CN106156791B (en) Business data classification method and device
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
CN109450771B (en) Method and device for adding friends, computer equipment and storage medium
CN108985954B (en) Method for establishing association relation of each identifier and related equipment
CN107808314B (en) User recommendation method and device
CN111367965B (en) Target object determining method, device, electronic equipment and storage medium
CN111954173B (en) Method, device, server and computer readable storage medium for sending short message
CN107231393B (en) Session processing method and device
CN110580649A (en) Method and device for determining potential value of commodity
CN111178380A (en) Data classification method and device and electronic equipment
CN107729924B (en) Picture review probability interval generation method and picture review determination method
CN110852780A (en) Data analysis method, device, equipment and computer storage medium
CN111581258A (en) Safety data analysis method, device, system, equipment and storage medium
CN115454561A (en) Customized interface display method, device, equipment and storage medium
CN111626767A (en) Resource data distribution method, device and equipment
CN108171570A (en) A kind of data screening method, apparatus and terminal
CN102902674A (en) Service group classifying method and system
CN114338698B (en) Mixed business operation data processing method, device and equipment based on virtual headquarter
CN113221005A (en) Customer service pushing method, server and related products
CN112751785A (en) Method and device for sending to-be-processed request, computer equipment and storage medium
KR20240054365A (en) Method and system for providing multi profile
CN108898432B (en) Advertisement putting effect evaluation method and device and electronic equipment
CN105183867B (en) Data processing method and device
CN114461407B (en) Data processing method, data processing device, distribution server, data processing system, 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