WO2015106632A1 - Service object processing method and system based on third-party platform - Google Patents

Service object processing method and system based on third-party platform Download PDF

Info

Publication number
WO2015106632A1
WO2015106632A1 PCT/CN2014/095953 CN2014095953W WO2015106632A1 WO 2015106632 A1 WO2015106632 A1 WO 2015106632A1 CN 2014095953 W CN2014095953 W CN 2014095953W WO 2015106632 A1 WO2015106632 A1 WO 2015106632A1
Authority
WO
WIPO (PCT)
Prior art keywords
party
platform
sub
account
parameter
Prior art date
Application number
PCT/CN2014/095953
Other languages
French (fr)
Chinese (zh)
Inventor
颜小彬
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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
Priority claimed from CN201410018256.5A external-priority patent/CN103873558B/en
Priority claimed from CN201410018240.4A external-priority patent/CN103856557B/en
Priority claimed from CN201410018258.4A external-priority patent/CN103854196B/en
Application filed by 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2015106632A1 publication Critical patent/WO2015106632A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/53Network services using third party service providers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy

Definitions

  • the present invention relates to the technical field of data processing, and in particular, to a method for processing a business object based on a third-party platform and a processing system for a business object based on a third-party platform.
  • the primary server is connected to multiple third-party servers, and the third-party server is connected to multiple clients.
  • the third-party server has the account of the primary server and has permission data, and the permission data has parameter values.
  • the transaction object is processed based on the account of the third-party server and the primary server, and the parameter value of the permission data is recorded locally.
  • the client may have permission data processing errors due to misoperation, hang up, etc., and the third-party server cannot record the error. If the client cannot query the source of the error, the third-party server and the client check the error. When the change of the parameter value of the permission data is recorded, the two cannot be matched, and the error of data processing cannot be found.
  • the data collected by the third-party server has low accuracy and low coverage, which makes the management inefficiency and easily causes property loss.
  • the third-party server does not participate in the allocation of network resources, so that the client does not self-discipline the processing of the business object to the primary server, and the third-party server and the primary server respond multiple times, which not only causes waste of network resources, but also causes services of the third-party server. decline in quality.
  • the deadline for accepting business object processing by the running platform of the third-party server is different, some third-party servers have an earlier deadline, while some third-party servers have a late deadline, so multiple clients are in the first After receiving the business object processing after the tripartite server deadline, manual adjustment of the configuration probability is required.
  • the response of the third-party server not only causes waste of resources of the client, but also wastes resources of the third-party server.
  • the amount of data of a business object is large, the cost of manual operation is gradually increased, which makes it difficult to bear, and the overall processing efficiency of multiple clients is reduced due to manual operations, and multiple clients and third party services are caused.
  • the service quality of the server has declined.
  • the present invention has been made in order to provide a third party platform based business object processing method and a corresponding third party platform based business object processing system that overcome the above problems or at least partially solve the above problems. .
  • a method for processing a business object based on a third-party platform is provided, the main platform is connected to one or more third-party platforms, and the third-party platform stores its main account on the main platform.
  • the primary account includes a primary parameter
  • the third-party platform is connected to the operating platform, and the operating platform stores one or more third-party accounts on the third-party platform, where the third-party account includes third-party parameters.
  • the operating platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
  • the method includes:
  • the processing request is sent to the one or more clients.
  • a method for processing a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform
  • An account number the master account includes a main parameter
  • the third-party platform is connected to an operation platform
  • the operation platform stores one or more third-party accounts on the third-party platform
  • the third-party account includes a third party.
  • the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
  • the method includes:
  • the processing request is sent to the third party platform by using the third party account.
  • a method for processing a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform An account number, the master account includes a main parameter, and the third party platform Connected to an operation platform, the operation platform stores one or more third party accounts on the third party platform, the third party account includes third party parameters, and the operation platform includes one or more clients and management a control center of the one or more clients, the client retains a sub-account of the operating platform, and the sub-account includes sub-parameters;
  • the method includes:
  • the processing request is sent to the main platform by using the primary account.
  • a processing system for a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform
  • An account number the master account includes a main parameter
  • the third-party platform is connected to an operation platform
  • the operation platform stores one or more third-party accounts on the third-party platform
  • the third-party account includes a third party.
  • the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
  • the system includes:
  • a first receiving module configured to receive a processing request of an original service object
  • the first sending module is adapted to send the processing request to the one or more clients.
  • a processing system for a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform
  • An account number the master account includes a main parameter
  • the third-party platform is connected to an operation platform
  • the operation platform stores one or more third-party accounts on the third-party platform
  • the third-party account includes a third party.
  • the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
  • the system includes:
  • a second receiving module configured to receive a processing request of an original service object sent by the control center
  • the second sending module is adapted to send the processing request to the third-party platform by using the third-party account.
  • a processing system for a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform
  • An account number the master account includes a main parameter
  • the third-party platform is connected to an operation platform
  • the operation platform stores one or more third-party accounts on the third-party platform
  • the third-party account includes a third party.
  • the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
  • the system includes:
  • a third receiving module configured to receive a processing request of the original service object sent by the one or more clients
  • the third sending module is adapted to send the processing request to the main platform by using the primary account.
  • a computer program comprising computer readable code, when said computer readable code is run on a server, causing said server to perform said third party platform based business object Approach.
  • a computer readable medium wherein the computer program described above is stored.
  • the invention increases the sub-account of the client, has small transformation of the authority system, less intrusion and simple access, reduces development cost, and is conducive to constructing a unified control center with good expansibility.
  • the invention realizes the management of fine granularity of the authority data of each level based on the sub-parameters, the third-party parameters and the main parameters, improves the overall controllability, reduces the non-self-regular initiation of service requests by users at all levels, and reduces the equipment of all levels. Resource consumption has improved the overall quality of service.
  • the invention receives the processing request of the business object, and the processing request includes a parameter variable, and the parameter variable is used to adjust the sub-parameter of the sub-account in the control center, and the third-party parameter of the third-party account is adjusted by using the parameter variable in the third-party platform,
  • the main platform uses parameter variables to adjust the main parameters of the primary account, so that the adjustment of the sub-account, the third-party account and the main account are consistent, which solves the problem that the data cannot be found incorrectly when the data is inconsistent, and improves the accuracy and coverage of the collected data. Rate, improve management efficiency, and ensure data security and stability.
  • the present invention sets the configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than the preset threshold, and then processes the business object according to the adjusted ratio, and solves the problem.
  • the business object is sent to the third-party platform that has reached the first deadline to process the failure of the business object processing, thereby avoiding the extra resource consumption caused by the processing failure, improving the processing success rate of the business object, and improving the overall Management efficiency and operational efficiency.
  • the invention can adjust the calculation amount of the business object of the third-party platform based on the configuration probability, realize the load balancing of the third-party platform of the whole network, reduce the network congestion, optimize the access traffic, improve the overall service quality, and provide the user with more Good experience.
  • the control center of the present invention receives the original business object, the original business object is split into one or more first child business objects, and the client splits the first child business object into one or more second child business objects. Then, it is sent to the corresponding third-party platform for processing, and the data operation amount is evenly distributed, thereby realizing the balanced load of the whole network, avoiding the problem of excessive resource occupation of the client and the third-party platform, and greatly reducing the data.
  • the budget time improves the processing efficiency of business objects, thereby improving the service quality of the entire network and improving the user experience.
  • the invention can adjust the calculation amount of the business object of the third-party platform based on the configuration probability, realize the load balancing of the third-party platform of the whole network, reduce the network congestion, optimize the access traffic, improve the overall service quality, and provide the user with more Good experience.
  • FIG. 1 shows a block diagram of a rights system in accordance with one embodiment of the present invention
  • FIG. 2 is a diagram showing an example of an account relationship structure according to an embodiment of the present invention.
  • FIG. 3 is a flow chart showing the steps of Embodiment 1 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention
  • FIG. 4 is a flow chart showing the steps of Embodiment 2 of a method for processing a third-party platform-based business object according to an embodiment of the present invention
  • FIG. 5 is a flow chart showing the steps of Embodiment 3 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention
  • FIG. 6 is a flow chart showing the steps of Embodiment 4 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention
  • FIG. 7 is a diagram showing an example of setting a configuration probability of Embodiment 4 of a processing method of a third-party platform-based business object according to an embodiment of the present invention.
  • FIG. 8 is a diagram showing an example of setting permission information of Embodiment 4 of a processing method of a third-party platform-based business object according to an embodiment of the present invention
  • FIG. 8A is a diagram showing an example of setting a specified service object according to Embodiment 4 of a processing method of a third-party platform-based business object according to an embodiment of the present invention.
  • FIG. 9 is a flow chart showing the steps of Embodiment 5 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention.
  • FIG. 10 is a flow chart showing the steps of Embodiment 6 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention
  • FIG. 11 is a flow chart showing the steps of Embodiment 7 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention
  • FIG. 12 is a diagram showing an example of splitting a business object according to Embodiment 7 of a processing method of a third-party platform-based business object according to an embodiment of the present invention.
  • FIG. 13 is a structural block diagram of Embodiment 1 of a processing system for a third-party platform-based business object according to an embodiment of the present invention
  • FIG. 14 is a structural block diagram of Embodiment 2 of a processing system for a third-party platform-based business object according to an embodiment of the present invention
  • FIG. 15 illustrates a service pair based on a third party platform according to an embodiment of the present invention.
  • Embodiment 4 is a structural block diagram of Embodiment 4 of a processing system for a third-party platform-based business object according to an embodiment of the present invention
  • FIG. 17 is a structural block diagram of Embodiment 5 of a processing system for a third-party platform-based business object according to an embodiment of the present invention.
  • FIG. 18 is a structural block diagram of Embodiment 6 of a processing system for a third-party platform-based business object according to an embodiment of the present invention.
  • Figure 19 is a schematic block diagram showing a server for performing the method according to the present invention.
  • Fig. 20 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • the business objects are also different.
  • the oriented business object may be news data; in the business field of the electronic commerce system, the oriented business object may be commodity data and store data; in the business field of the lottery system, Business objects can be lottery data, and so on.
  • Permission management usually exists in these systems.
  • users in the system can access and can only access resources that are authorized by themselves.
  • the lottery system is taken as an example for explanation.
  • FIG. 1 there is shown a block diagram of a rights system in accordance with one embodiment of the present invention.
  • the main platform may be connected to one or more third-party platforms, and the third-party platform may be connected to an operation platform, and the operation platform may include one or more clients and manage the one or more clients. control center.
  • the main platform may include a national lottery center (for example, a Welfare Lottery Center or a Sports Lottery Center, etc.) having the permission to generate a business object (lottery data).
  • Third party The station may include a ticket issuing party, that is, a third-party lottery company (which may include provincial-level lottery centers) that provides lottery-related services such as lottery ticketing (sales), redemption, and period number inquiry, and has a business object (lottery data) The sales permissions and permissions to generate business objects (lottery data).
  • the operational platform may include a platform that cooperates with one or more third party platforms with sales rights for business objects (lottery data).
  • the client may include a ticket clerk, which divides the lottery data task into lottery data according to the interface specification of the ticket clerk, and the control center may include a background of the operation platform, and is responsible for the basic affairs of the operation platform.
  • FIG. 2 there is shown an exemplary diagram of an account relationship structure in accordance with one embodiment of the present invention.
  • the third-party platform may save its primary account on the primary platform, the primary account may include a primary parameter, and the operating platform may save one or more third-party accounts on the third-party platform, the sub-account A third party parameter can be included, the client can hold its sub-account on the operating platform, and the sub-account can include sub-parameters.
  • a third-party platform may have only one primary account, one operating platform may have one or more third-party accounts of the same third-party platform, and one client may have only one sub-account.
  • the main parameter may include a parameter name and a parameter value
  • the main parameter may be a permission parameter that the third-party platform requests the main platform to generate the business object, that is, when the primary account of the third-party platform has the permission parameter and the parameter value satisfies the requirement of the business object, the main platform is Will respond to requests from third-party platforms to generate business objects.
  • the main parameter may be a pre-deposit (parameter name) of the ticket seller at the lottery center, and the parameter value is a pre-deposit amount (parameter value).
  • the third-party parameter may include the parameter name and the parameter value.
  • the third-party parameter may be used by the operating platform to request the third-party platform to generate the permission parameter of the service object through the main platform, that is, the third-party account of the operation platform has the permission parameter and the parameter value satisfies the requirement of the business object.
  • the third-party platform responds to requests from the operating platform to generate business objects.
  • the third-party parameter may be a pre-deposit (parameter name) of the operating platform at the ticket issuer, and the parameter value is a pre-deposit amount (parameter value).
  • the sub-parameters may include parameter names and parameter values, and the sub-parameters may be operated flat for the client.
  • the third-party account of the station requests the third-party platform to generate the permission parameter of the business object through the main platform, that is, when the sub-account of the client has the permission parameter and the parameter value meets the requirements of the business object, the control center can respond, allowing the client to adopt the operation platform.
  • the third party account requests the third party platform to generate the business object through the main platform.
  • the third-party parameter may assign a pre-deposit (parameter name) to the operator for the operator platform, and the parameter value is a pre-deposit allocation quota (parameter value).
  • a third-party platform only needs to assign a third-party account to the operating platform, but in some cases, for example, third-party parameters are limited (for example, cloud deposits have a limit) or third-party platform processing is limited (for example, the ticketing speed is limited.
  • third-party parameters are limited (for example, cloud deposits have a limit) or third-party platform processing is limited (for example, the ticketing speed is limited.
  • third-party platform processing is limited (for example, the ticketing speed is limited.
  • the ticketing speed is limited.
  • Each third-party account generally needs to perform separate data accounting (such as reconciliation) with a third-party platform.
  • the workload of data accounting between the operating platform and the third-party platform is increased.
  • a ticket issuer may correspond to one or more issuers, and the one or more issuers will use the same account (primary account) assigned by the ticket issuer to request the lottery center to make the lottery data.
  • the teller reconciliation generally only provides the bill for each access account assigned to it, so that the operating platform (such as the purchasing company) can only use the biller to summarize the bills for reconciliation with the ticket seller. Difficult to find the error record.
  • multiple ticket clerk corresponding to the same ticket seller generally has an independent account for independent management, so that the account of the ticket clerk and the account of the ticket seller cannot be unified in real time, which is easy to cause errors in processing the lottery data. .
  • the plurality of ticket clerk will process the lottery data (business object) using the access account (third party account) assigned by the ticket clerk.
  • the ticket seller generally sets a deadline for receiving the order (lottery data production), and after that deadline, the lottery data is stopped.
  • a lottery needs to be distributed to multiple ticket sellers to issue tickets, and each drawer's receiving order has different deadlines, it is necessary to manually adjust the probability of the vote after the deadline of the ticket seller, which will lead to sales. Shorter time, affecting sales.
  • a large lottery ticketing task can only be assigned to one The ticket issuer issues the ticket. Because the ticket issuer's ability to issue tickets is limited, the ticket may not be completed before the sales deadline, resulting in the failure of the ticket issue, resulting in a decrease in the quality of the server of the ticket issuer and the ticket issuer.
  • a method for processing a business object based on a third-party platform is provided.
  • the main platform is connected to one or more third-party platforms, and the third-party platform stores its main account on the main platform.
  • the primary account includes a primary parameter
  • the third-party platform is connected to the operating platform, and the operating platform stores one or more third-party accounts on the third-party platform, where the third-party account includes third-party parameters.
  • the operating platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
  • the method includes:
  • the processing request is sent to the one or more clients.
  • the processing request includes a parameter variable
  • the one or more clients are configured to send the processing request to the third party by using the third-party account.
  • the platform is configured to send the processing request to the main platform by using the primary account, and adjust the third-party parameters of the third-party account by using the parameter variable; And adjusting, by using the parameter variable, a primary parameter of the primary account; the method further includes:
  • the sub-parameters of the sub-account are adjusted by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  • the step of sending the processing request to the one or more clients includes:
  • the processing request is sent to the one or more clients.
  • the processing request further includes an original A business object
  • the main platform is further configured to generate a target business object by using the original business object.
  • the method further includes:
  • the third-party platform further stores a first deadline and a configuration probability for the service object, and at least one third-party platform has a second deadline for the service object;
  • the method further includes:
  • the step of sending the processing request to the one or more clients includes:
  • the sum of the configuration probabilities of all the third-party platforms is 0 or 1.
  • the client has the authority information corresponding to the original service object, and the third-party platform for processing the processing request and its corresponding information are determined according to the current configuration probability.
  • the steps of one or more clients include:
  • the original service object includes model information and version information
  • the determining, according to the current configuration probability, is used to process the processing request.
  • the steps of the third-party platform and its corresponding one or more clients include:
  • the specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform is 1.
  • the original service object includes a first parameter value; and the step of sending the processing request to the one or more clients includes:
  • the original business object is divided into one or more first sub-service objects according to the first parameter value;
  • the client is configured to divide the first sub-service object into one or more second sub-service objects, and the one or more The second sub-service object is sent to the third-party platform; the third-party platform is configured to generate the target service object by using the main account, the main parameter, and the second sub-service object.
  • the first parameter value includes first rate information and/or first quantity information
  • the first sub-service object includes a second parameter value;
  • the second parameter value includes second magnification information and/or second quantity information;
  • the product of the second magnification information is equal to the first magnification information
  • the sum of the second quantity information is equal to the first quantity information.
  • the step of sending the one or more first sub-service objects to the client includes:
  • the sum of the configuration probabilities corresponding to all the third-party platforms is 1.
  • the method further includes:
  • the method further includes:
  • the state of the second sub-service object corresponding to the target business object is changed to a completion state.
  • the method further includes:
  • the method further includes:
  • the client is configured to send the second sub-service object that fails to be processed to the third-party platform;
  • the three-party platform is configured to generate the target business object by using the primary account, the primary parameter, and the second sub-service object that fails to process and is not processed.
  • the third party platform includes a ticket voucher
  • the client includes a ticket clerk.
  • a method for processing a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform
  • An account number the master account includes a main parameter
  • the third-party platform is connected to an operation platform
  • the operation platform stores one or more third-party accounts on the third-party platform
  • the third-party account includes a third party.
  • the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
  • the method includes:
  • the processing request is sent to the third party platform by using the third party account.
  • the processing request includes a parameter variable
  • the third-party platform is configured to send the processing request to the main platform by using the primary account, and adopt The parameter variable adjusts a third-party parameter of the third-party account; the master platform is configured to adjust a primary parameter of the primary account by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  • the step of sending the processing request to the third-party platform by using the third-party account includes:
  • the processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
  • the interface parameter includes one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the processing request further includes an original service object, where the main platform is further configured to generate a target service object by using the original service object.
  • the processing request includes a first sub-service object, the first sub-service object is a receiving original service object, and the original service object includes a first parameter value, when And verifying, when the original business object is legal, dividing the original business object into one or more first sub-service objects according to the parameter value; and sending, by using the third-party account, the processing request to the first
  • the steps of the three-party platform include:
  • the third-party platform is configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object.
  • the method further includes:
  • the third-party platform is configured to adopt the primary account, the primary parameter, and the processing failure and the second unprocessed
  • the child business object generates the target business object.
  • the third party platform includes a ticket voucher
  • the client includes a ticket clerk.
  • a primary platform is provided that is connected to one or more third-party platforms, the third-party platform retains a primary account of the primary platform, and the primary account includes a primary parameter, the first The third party platform is connected to the operation platform, and the operation platform stores one or more third party accounts on the third party platform, the third party account includes third party parameters, and the operation platform includes one or more clients. And managing a control center of the one or more clients, the client retaining a sub-account of the operating platform, the sub-account including sub-parameters;
  • the method includes:
  • the processing request is sent to the main platform by using the primary account.
  • the processing request includes a parameter variable; the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable; :
  • the third-party parameters of the third-party account are adjusted by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  • the step of receiving a processing request of the original service object sent by the one or more clients includes:
  • the interface parameter includes one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the processing request further includes an original service object, where the main platform is further configured to generate a target service object by using the original service object.
  • the third party platform includes a ticket voucher
  • the client includes a ticket clerk.
  • Embodiment 1 a flow chart of the steps of Embodiment 1 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention is shown;
  • the main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform.
  • the operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. a control center of one or more clients, the client may maintain a sub-account of the operating platform, and the sub-account may include sub-parameters;
  • the method can include the following steps:
  • Step S310 receiving a processing request of an original service object;
  • the processing request may include a parameter variable
  • the processing request received by the control center may be an indication sent by the user to generate a target business object, where the processing request may include a parameter variable for adjusting the permission data required to generate the target business object.
  • the lottery data system will be described as an example of the authority system.
  • the business object may include lottery data
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • the original business object may include original lottery data and parameter variables, for example,
  • the parameter variable can be the bet amount, including the color type of the bet, the issue number, the number, the magnification, and the like.
  • parameter variables may be different in the processing of different business objects, but may be the same in the processing of the same business object.
  • Step S320 sending the processing request to the one or more clients
  • the original business object when the original business object satisfies the preset condition, the original business object may be split into one or more first sub-service objects.
  • the preset condition may include that the original magnification information of the original service object exceeds a first preset threshold, and/or the original quantity information exceeds a second preset threshold.
  • the original lottery data has an original magnification information exceeding 99 times, and/or, if the original quantity information exceeds 50 notes, the original lottery data can be split.
  • the split one or more first sub-service objects may include sub-magnification information and/or sub-quantity information, and the product of the word magnification information of all the first sub-service objects is equal to the original magnification information, and/or the sub-quantity information The sum is equal to the original quantity information.
  • the processing request sent to the client may include an original service object, or may include one or more first sub-service objects.
  • the step S320 may specifically include the following sub-steps:
  • Sub-step S3201 determining a current third-party platform for processing the processing request and one or more corresponding clients according to the predicted configuration probability
  • Sub-step S3202 the processing request is sent to the one or more clients.
  • the operating platform may set a configuration probability for each third-party platform, that is, select a third-party platform for processing the business object according to the probability, so that the data volume and configuration probability of the business object actually processed by each third-party platform
  • the ratios are roughly the same, enabling selective distribution.
  • the configuration probability When the configuration probability is the same, the amount of operations for processing the business object can be equally divided.
  • the configuration probability can also be allocated according to the processing capability of the third-party platform. For example, the configuration probability of a third-party platform with strong data processing capability can be slightly larger, and vice versa, for example, a specified business object (for example, a specified color type, designation) Lottery data for the period, etc.) can specify a third party
  • the configuration probability is for the same type of business object, and the same third-party platform can set the configuration probability of different types of business objects.
  • the same ticket issuer can have a configuration probability of a single type or a multiple type.
  • a third-party platform only needs to allocate one client, but in some cases, for example, to improve the processing speed of business objects (such as ticketing speed), multiple clients can be created for a third-party account, but for each When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
  • the client When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
  • the invention can adjust the calculation amount of the business object of the third-party platform based on the configuration probability, realize the load balancing of the third-party platform of the whole network, reduce the network congestion, optimize the access traffic, improve the overall service quality, and provide the user with more Good experience.
  • the one or more clients may be configured to send the processing request to the third-party platform by using the third-party account;
  • the third-party platform may be configured to send the processing request to the primary account by using the third-party account
  • the main platform, and the third-party parameter of the third-party account is adjusted by using the parameter variable;
  • the main platform may be configured to adjust a primary parameter of the primary account by using the parameter variable;
  • the third-party platform may adjust the third-party parameters of the third-party account based on the parameter variable, and the main platform may adjust the main parameter of the primary account based on the parameter variable, so that the third-party account is The third-party parameters are consistent with the main parameters of the primary account.
  • the processing request may further include an original service object, where the main platform is further configured to generate the target business object by using the original business object.
  • the target business object can be returned to the user through the third-party platform and the application platform, and the processing process of the business object is completed.
  • the lottery center follows the user's original lottery data and parameters.
  • the number of variables may include the color type of the bet, the issue number, the number, the magnification, the bet amount, etc., in the format of the lottery data, such as the lottery ticket number (a serial number that uniquely identifies a lottery ticket.
  • the lottery ticket number a serial number that uniquely identifies a lottery ticket.
  • the lottery ticket number is the important data required for the lottery redemption), the serial number, etc. to generate lottery data, and finally returned to the user through the ticket seller and the application platform.
  • the request may further include a first sub-service object.
  • the main platform may also be configured to generate a target business object by using the first sub-business object.
  • the original business object, the first sub-business object, the second sub-business object, and the target business object are only relative to the process of processing the business object, and the essence thereof is the business object.
  • Step S330 adjusting the sub-parameters of the sub-account by using the parameter variable.
  • control center may adjust the sub-parameters minus the parameter variables.
  • the sub-parameters of the sub-accounts, the third-party parameters of the third-party account, and the main parameter adjustment of the main account may be consistent.
  • the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
  • the sum of the sub-parameters of the sub-account A and the sub-account B is equal to the third-party parameter of the third-party account A.
  • the sum of all the sub-parameters of the same third-party platform can be equal to the third-party parameters of the corresponding third-party account, so that the data is unified, the occurrence of data processing errors is reduced, and the user is convenient to operate.
  • the sum of all sub-parameters for the same third-party platform may be smaller than the third-party parameters of the corresponding third-party account.
  • the operating platform may reserve a quota of partial authority data (third-party parameters) for emergency use. For example, when the parameter value of a child parameter of a sub-account is too low, and the business object cannot be processed, the operating platform can directly increase the parameter value of the sub-parameter using the reserved quota, so that the third-party parameter is adjusted in comparison with the third-party platform. In the process, the client is still Business objects can be processed normally.
  • the control center shall perform corresponding operations on the sub-parameters of the client (seller) (addition / Deduction) to keep third-party parameters consistent with sub-parameters.
  • the invention receives the processing request of the service object, and the processing request includes a parameter variable, and the parameter variable is used to adjust the sub-parameter of the sub-account in the control center, and the third-party parameter of the third-party account is adjusted by using the parameter variable in the third-party platform,
  • the parameter parameters are used to adjust the main parameters of the main account, so that the adjustment of the sub-account, the third-party account and the main account are consistent, and the problem that the data cannot be found is inaccurate when the data is inconsistent, and the accuracy of the collected data is improved. Coverage, improve management efficiency, and ensure data security and stability.
  • the invention increases the sub-account of the client, has small transformation of the authority system, less intrusion and simple access, reduces development cost, and is conducive to constructing a unified control center with good expansibility.
  • the invention realizes the management of fine granularity of the authority data of each level based on the sub-parameters, the third-party parameters and the main parameters, improves the overall controllability, reduces the non-self-regular initiation of service requests by users at all levels, and reduces the equipment of all levels. Resource consumption has improved the overall quality of service.
  • the method may further include the following steps:
  • Step S340 when the sub-parameter of the sub-account is less than a preset threshold, generating alarm information.
  • the preset threshold may be an early warning amount.
  • the pre-deposit allocation amount of the ticket clerk is less than the warning amount, and the pre-deposit allocation amount may be insufficient to cause the lottery data to be out.
  • the generated alarm information can be displayed on the current interface, or sent to a specified communication tool, such as a mobile phone, a mailbox, etc., to remind the timely replenishment of the pre-deposit (ie, third-party parameters).
  • FIG. 4 a flow chart of steps of Embodiment 2 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention is shown;
  • the main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform.
  • the operating platform may hold its third party One or more third party accounts of the platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a control center that manages the one or more clients, the client A sub-account on the operating platform may be saved, and the sub-account may include sub-parameters;
  • the method can include the following steps:
  • Step S410 receiving a processing request sent by the control center; the processing request includes a parameter variable;
  • the processing request may include one or more first sub-service objects.
  • the lottery data system will be described as an example of the authority system.
  • the business object may include lottery data
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • Step S420 Send the processing request to the third-party platform by using the third-party account.
  • the client may split the original business object or the first sub-service object into one or more second sub-service objects according to the interface parameters of the third-party platform.
  • the second sub-service object can be:
  • the basic unit of lottery betting is a ticket, which corresponds to a ticket element in the bet request message body (processing request), each ticket can contain a bet number of the same bet method, and there is a limit on the number of bet numbers.
  • the lotteryRequest is a container element, which can be represented by a plurality of ticket sub-elements (second sub-service objects), indicating that the third-party platform can process the batch bet request of the client.
  • step S420 may comprise the following sub-steps:
  • Sub-step S421 the processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
  • the interface parameter may include one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the third-party parameter query parameter can be used by the client to automatically query the third-party parameters of the third-party account on the third-party platform through the interface when the business object is processed for the first time every day.
  • the third-party account name can be used to select the corresponding ticketing interface account (access account) name.
  • the interface address can be the access address of the interface of the third-party platform, which can be a domain name or an IP address.
  • the third-party account number may be the number, user name, or terminal number of the third-party account uniformly allocated by the third-party platform.
  • the user ID can be a user ID (eg, an account name) that is processed by the requesting business object.
  • the key can be used for a key or encryption key that signs the communication data.
  • the third-party platform is configured to send the processing request to the main platform by using the primary account, and adjust the third-party parameters of the third-party account by using the parameter variable;
  • the main parameter of the primary account is adjusted by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
  • the processing request may further include an original service object
  • the main platform may be further configured to generate the target business object by using the original business object.
  • the request may further include a second sub-service object.
  • the main platform may also be configured to generate a target business object by using the second sub-business object.
  • Embodiment 3 is a flow chart showing the steps of Embodiment 3 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention
  • the main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform.
  • the operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office.
  • One or more clients Control center the client may save its sub-account on the operating platform, and the sub-account may include sub-parameters;
  • the method can include the following steps:
  • Step S510 receiving a processing request of the original service object sent by the one or more clients; the processing request includes a parameter variable;
  • the processing request may include one or more first sub-service objects. If the client splits the original business object or the first sub-service object, the processing request may include one or more second sub-service objects.
  • the lottery data system will be described as an example of the authority system.
  • the business object may include lottery data
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • the step S510 may include the following sub-steps:
  • Sub-step S511 receiving, according to a preset interface parameter, a processing request of the original service object sent by the one or more clients.
  • the interface parameter may include one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • Step S520 the processing request is sent to the main platform by using the primary account;
  • the primary platform is configured to adjust a primary parameter of the primary account by using the parameter variable;
  • the third-party platform may also adjust the original business object in the processing request, or the first sub-service object, or the second service self-object according to the interface parameter of the main platform to obtain the third sub-service object. Then send it to the main platform.
  • the main platform can be adjusted by using the main parameter minus the parameter variable.
  • the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
  • the processing request further includes an original service object
  • the main platform is further configured to generate the target business object by using the original business object.
  • the request may further include the third sub-service object.
  • the main platform may also be configured to generate the target business object by using the third sub-service object.
  • Step S530 using the parameter variable to adjust third-party parameters of the third-party account
  • the third-party platform may adjust the third-party parameters minus the parameter variables.
  • FIG. 6 a flow chart of steps in Embodiment 4 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention is shown;
  • the primary platform may be connected to one or more third-party platforms, the third-party platform may maintain its primary account number on the primary platform and a first deadline and configuration probability for the business object, and at least one third-party platform may have For the second deadline of the business object, the primary account may include a primary parameter, and the third-party platform may be connected to an operating platform, and the operating platform may include one or more clients and manage the one or more Client's control center;
  • the method can include the following steps:
  • Step S610 when the second deadline is reached, setting a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold; the second deadline is less than or equal to the first a deadline
  • the time limit for processing the business objects by the main platform is different for the business objects of different types of information and different version information, so that the first deadlines of the third-party platforms are also different.
  • the business object may include lottery data
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • the model information can be color information (such as two-color ball, arrangement 3, etc.), the version information can be the date information, and the lottery center will have betting time for different lottery information and lottery data of different issue information.
  • the deadline corresponding to the ticket issuer in order to ensure the successful issuance of lottery data, generally set the first deadline for advance, beyond the deadline to not accept lottery data betting.
  • a second cutoff time less than or equal to the first cutoff time may be set.
  • the configuration probability of the corresponding third party platform is set to be lower than the preset threshold.
  • the ratio is zero.
  • the first deadline of the ticket seller minus the time indicated by "early due to” is the second deadline, "single ticket probability” and "multiple”
  • the probability of the ticket can be a configuration probability.
  • the configuration probability can be adjusted according to a preset ratio.
  • the operating platform may set a configuration probability for each third-party platform, that is, select a third-party platform for processing the business object according to the probability, so that the data volume and configuration probability of the business object actually processed by each third-party platform
  • the ratios are roughly the same, enabling selective distribution.
  • the sum of the configuration probabilities of all the third-party platforms is 0 or 1.
  • the sum of the configuration probabilities When the sum of the configuration probabilities is 0, it indicates that the operation platform or the third platform or the main platform does not accept the processing of the business object.
  • the sum of the configuration probabilities When the sum of the configuration probabilities is 1, it indicates that the operation platform, the third release platform, and the main platform accept the processing of the business object, and ensure that the business object is allocated to the third-party platform for processing.
  • the budget amount of the processing business object can be equally divided.
  • the configuration probability can also be allocated according to the processing capability of the third-party platform. For example, the configuration probability of the third-party platform with strong data processing capability can be slightly larger, and vice versa, for example, the designated industry.
  • the object (such as the specified color, the lottery data of the specified issue number, etc.) can be specified by the third-party platform, that is, the configuration probability of the third-party platform is 1.
  • the configuration probability is for the same type of business object, and the same third-party platform can set the configuration probability of different types of business objects.
  • the same ticket issuer can have a configuration probability of a single type or a multiple type.
  • a third-party platform only needs to allocate one client, but in some cases, for example, to improve the processing speed of business objects (such as ticketing speed), multiple clients can be created for a third-party account, but for each When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
  • the client When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
  • the invention can adjust the budget of the business object of the third-party platform based on the configuration probability, realizes the load balancing of the third-party platform of the whole network, reduces the network congestion, optimizes the access traffic, improves the overall service quality, and provides the user with more Good experience.
  • Step S620 performing corresponding adjustments on configuration probabilities of other third-party platforms
  • the configuration probabilities of other third-party platforms can be correspondingly increased.
  • Step S630 receiving a processing request of the original business object
  • the processing request received by the control center may be an indication sent by the user to generate a target business object, where the processing request may include a parameter variable for adjusting the permission data required to generate the target business object.
  • the original business object may include raw lottery data and parameter variables, such as color, bet, number, magnification, etc., which may include bet amount, and the parameter variable may be a bet amount.
  • parameter variables such as color, bet, number, magnification, etc., which may include bet amount
  • the parameter variable may be a bet amount.
  • parameter variables may be different in the processing of different business objects, but may be the same in the processing of the same business object.
  • the original business object when the original business object satisfies the preset condition, the original business object may be split into one or more first sub-service objects.
  • the preset condition may include the original magnification information of the original business object.
  • the first preset threshold is exceeded, and/or the original quantity information exceeds the second preset threshold.
  • the original lottery data has an original magnification information exceeding 99 times, and/or, if the original quantity information exceeds 50 notes, the original lottery data can be split.
  • the split one or more original business objects may include sub-magnification information and/or sub-quantity information, and the product of the word magnification information of all the first sub-service objects is equal to the original magnification information, and/or the sum of the sub-quantity information. Equal to the original quantity information.
  • Step S640 determining, according to the current configuration probability, a third-party platform for processing the request and one or more corresponding clients thereof;
  • a third-party platform only needs to allocate one client, but in some cases, for example, to improve the processing speed of business objects (such as ticketing speed), multiple clients can be created for a third-party account, but for each When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
  • the client When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
  • the configuration probability is for the same type of business object, and the same third-party platform can set the configuration probability of different types of business objects.
  • the same ticket issuer can have a configuration probability of a single type or a multiple type.
  • Step S650 sending the original service object to the one or more clients
  • the client may have the permission information corresponding to the processing service object, and the step S650 may specifically include the following sub-steps:
  • Sub-step S6501 determining, according to the current configuration probability, a third-party platform for processing the request and one or more clients corresponding thereto and having rights information.
  • the client When the client has permission information, the corresponding business object can be processed.
  • the check box corresponding to the color type indicates that the ticket holder has the authority information for processing the lottery data of the color type.
  • the service object may include model information and version information
  • the step S650 may specifically include the following sub-steps:
  • Sub-step S6502 determining a current third-party platform for processing the specified request and its corresponding one or more clients
  • the specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform is 1.
  • the configuration probability of the third-party platform is 1.
  • the specified model information may be a color type, and the specified version information may be a period number.
  • the one or more clients may be used to preset according to the third party platform.
  • the interface parameter generates the first sub-service object by the original service object, and sends the first sub-service object to the third-party platform;
  • the interface parameter may include one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the third-party parameter query parameter can be used by the client to automatically query the third-party parameters of the third-party account on the third-party platform through the interface when the business object is processed for the first time every day.
  • the third-party account name can be used to select the corresponding ticketing interface account (access account) name.
  • the interface address can be the access address of the interface of the third-party platform, which can be a domain name or an IP address.
  • the third-party account number may be the number, user name, or terminal number of the third-party account uniformly allocated by the third-party platform.
  • the user ID can be a user ID (eg, an account name) that is processed by the requesting business object.
  • the key can be used for a key or encryption key that signs the communication data.
  • the third-party platform may be configured to adopt the main account, the main parameter, and the first A child business object generates a target business object.
  • the third-party platform may perform corresponding adjustment on the first sub-service object according to the interface parameter of the main platform, and then send the information to the main platform.
  • the main platform can be used to generate the target business object by using the sub-business object, and adjust the main parameters of the third-party platform main account. Specifically, the main parameter can be adjusted by subtracting the parameter variable.
  • the present invention sets the configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than the preset threshold, and then processes the business object according to the adjusted ratio, and solves the problem.
  • the business object is sent to the third-party platform that has reached the first deadline to process the failure of the business object processing, thereby avoiding the extra resource consumption caused by the processing failure, improving the processing success rate of the business object, and improving the overall Management efficiency and operational efficiency.
  • the invention increases the sub-account of the client, has small transformation of the authority system, less intrusion and simple access, reduces development cost, and is conducive to constructing a unified control center with good expansibility.
  • the invention realizes the management of fine granularity of the authority data of each level based on the sub-parameters, the third-party parameters and the main parameters, improves the overall controllability, reduces the non-self-regular initiation of service requests by users at all levels, and reduces the equipment of all levels. Resource consumption has improved the overall quality of service.
  • the third-party platform may have a primary account and a primary parameter, one or more.
  • the client can be connected to the third-party platform, and the method can include the following steps:
  • Step S710 receiving an original service object;
  • the original service object may include a first parameter value;
  • the control center receives an indication sent by the user to generate a target business object, where the processing request may include a parameter variable and an original business object, and the parameter variable may be used to adjust the permission data required to generate the target business object.
  • the lottery data system will be described as an example of the authority system.
  • the business object may include lottery data
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • the original business object may be a lottery data betting scheme of the user, and may specifically include original lottery data, for example, a color type, a period number, a number, a magnification, and the like, which may include a bet, and the parameter variable may be a bet amount.
  • Step S720 when it is verified that the original business object is legal, the original business object is divided into one or more first sub-service objects according to the parameter value;
  • the first parameter value may include first rate information and/or first quantity information
  • the original business object when the original business object satisfies the preset condition, the original business object may be split into a plurality of first sub-service objects. Otherwise, the original business object can be divided into a first sub-business object.
  • the preset condition may include that the original magnification information of the original service object exceeds a first preset threshold, and/or the first quantity information exceeds a second preset threshold.
  • the first rate information of the lottery data bet scheme is more than 99 times, and/or, if the first quantity information exceeds 50 notes, the lottery data bet scheme may be split to obtain the first sub-service object. Can be called a ticketing task.
  • the first sub-service object may include a second parameter value;
  • the second parameter value may include second magnification information and/or second quantity information;
  • the product of the second magnification information may be equal to the first magnification information
  • the sum of the second quantity information may be equal to the first quantity information.
  • Step S730 sending the one or more first sub-service objects to the client;
  • the step S730 may include the following sub-steps:
  • Sub-step S7301 determining, according to the configuration probability, a current third-party platform for processing the first sub-service object and one or more corresponding clients thereof;
  • Sub-step S7302 the first sub-service object is sent to the one or more clients.
  • the operating platform can set a configuration probability for each third-party platform. That is, the third-party platform for processing the business object is selected according to the probability, so that the data volume of the business object actually processed by each third-party platform is substantially the same as the ratio of the configuration probability, and the selective allocation is realized.
  • the configuration probability When the configuration probability is the same, the amount of operations for processing the business object can be equally divided.
  • the configuration probability can also be allocated according to the processing capability of the third-party platform. For example, the configuration probability of a third-party platform with strong data processing capability can be slightly larger, and vice versa, for example, a specified business object (for example, a specified color type, designation)
  • the lottery data of the period number, etc.) can be specified by a third-party platform, that is, the configuration probability of the third-party platform is 1.
  • the sum of the configuration probabilities corresponding to all the third-party platforms is 1.
  • the configuration probability is for the same type of business object, and the same third-party platform can set the configuration probability of different types of business objects.
  • the same ticket issuer can have a configuration probability of a single type or a multiple type.
  • a third-party platform only needs to allocate one client, but in some cases, for example, to improve the processing speed of business objects (such as ticketing speed), multiple clients can be created for a third-party account, but for each When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
  • the client When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
  • the invention can adjust the calculation amount of the business object of the third-party platform based on the configuration probability, realize the load balancing of the third-party platform of the whole network, reduce the network congestion, optimize the access traffic, improve the overall service quality, and provide the user with more Good experience.
  • the client may be configured to divide the first sub-service object into one or more second sub-service objects, and send the one or more second sub-service objects to a third-party platform; the third-party platform
  • the target business object may be generated by using the primary account, the primary parameter, and the second sub-service object.
  • the control center of the present invention splits the original business object when receiving the original business object For one or more first child business objects, the client splits the first child business object into one or more second child business objects, and then sends them to the corresponding third-party platform for processing, thereby realizing the average amount of data operations.
  • the allocation realizes the balanced load of the whole network, avoids the problem of excessive resource occupation of the client and the third-party platform, greatly reduces the budget time of the data, improves the processing efficiency of the business object, and improves the service of the whole network. Quality improves the user experience.
  • the third-party platform may have a primary account and a primary parameter, one or more.
  • the client can be connected to the third-party platform, and the method can include the following steps:
  • Step S810 receiving an original service object;
  • the original service object includes a first parameter value;
  • Step S820 when it is verified that the original business object is legal, the original business object is divided into one or more first sub-service objects according to the parameter value;
  • Step S830 changing the state of the first sub-service object to an in-process state
  • the bet plan status can be immediately changed to the "invoiced" status regardless of whether the ticketing task starts to be issued.
  • Step S840 sending the one or more first sub-service objects to the client; the client is configured to divide the first sub-service object into one or more second sub-service objects, and the one Or the plurality of second sub-service objects are sent to the third-party platform; the third-party platform is configured to generate the target service object by using the main account, the main parameter, and the second sub-service object.
  • Step S850 when receiving the information of the target business object that is sent by the client, changing the state of the second child service object corresponding to the target business object to a completion state;
  • the third-party platform may return information for generating the target business object to the client, and the client may return information for generating the target business object to the control center.
  • Step S860 when all the states of the second sub-service object are all in the completion state, returning information that the original service object completes processing
  • the bet scheme will also complete the ticketing.
  • the invention sets the state of the second sub-service object to the processing state and the completion state, so that the original business object and the second sub-service object are unified in the degree of completion, the probability of leakage operation and misoperation is reduced, and the success rate of the processing is improved.
  • Step S870 when the completion status change fails, obtaining, by the third-party platform, a processing result of the second sub-service object; the processing result includes processing failure;
  • abnormal conditions may occur due to database crashes, network interruptions, and communication failures during system operation.
  • the bet program can be manually issued by completing the ticketing function.
  • Step S880 comparing the second sub-service object with the original business object to obtain a second sub-service object that is not processed
  • the processing result of the second sub-service object may be obtained from the third-party platform, and the processing of the original business object may be completed according to the actual situation, or the operation of splitting the original business object may be re-executed.
  • Step S890 the second sub-service object that fails to be processed and sent to the client is sent to the client; the client is configured to send the second sub-service object that has failed to be processed and is not processed to the third-party platform;
  • the third-party platform is configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object that fails to process and is not processed.
  • the invention checks the second sub-business object and the original business object when the business object is processed abnormally, so as to find out the influence of the abnormal situation on the completion condition, and then re-processes the second sub-service object, thereby improving the system. Stability and risk resistance.
  • the third-party platform may have a primary account. And a primary parameter, one or more clients may be connected to the third party platform, and the method may include the following steps:
  • Step S910 Receive a first sub-service object;
  • the first sub-service object is a receiving original service object, where the original service object includes a first parameter value, and when the original service object is verified to be legal, according to the parameter value
  • One or more first sub-service objects divided by the original business object
  • Step S920 dividing the first sub-service object into one or more second sub-service objects
  • the client may split the original business object or the first sub-service object into one or more second sub-service objects according to the interface parameters of the third-party platform.
  • the bet plan can be split into one or more ticketing tasks (the first sub-business object)
  • the client can split the ticketing task into one or more ticketing orders (second sub-business object).
  • An example of a ticketing order can be as follows:
  • the basic unit of lottery betting is a ticket, which corresponds to a ticket element in the bet request message body (processing request), each ticket can contain a bet number of the same bet method, and there is a limit on the number of bet numbers.
  • the lotteryRequest is a container element, which can be represented by a plurality of ticket sub-elements (second sub-service objects), indicating that the third-party platform can process the batch bet request of the client.
  • Step S930 sending the one or more second sub-service objects to a third-party platform
  • the processing request may be sent to the third-party platform by using a third-party account according to preset interface parameters.
  • the interface parameter may include one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the third-party parameter query parameter can be used by the client to automatically query the third-party parameters of the third-party account on the third-party platform through the interface when the business object is processed for the first time every day.
  • the third-party account name can be used to select the corresponding ticketing interface account (access account) name.
  • the interface address can be the access address of the interface of the third-party platform, which can be a domain name or an IP address.
  • the third-party account number may be the number, user name, or terminal number of the third-party account uniformly allocated by the third-party platform.
  • the user ID can be a user ID (eg, an account name) that is processed by the requesting business object.
  • the key can be used for a key or encryption key that signs the communication data.
  • the third-party platform may be configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object.
  • the third-party platform may be configured to send the second sub-service object to the main platform by using the primary account; the main platform may be configured to generate a target service object by using the second sub-service object. .
  • the method may further include the following steps:
  • Step S940 receiving a second sub-service object that fails to process and is not processed
  • Step S950 the second sub-service object that fails to be processed and sent to the third-party platform is sent; the third-party platform is configured to adopt the main account, the main parameter, and the processing fails and is not processed.
  • the second child business object generates the target business object.
  • the third-party platform may be configured to send, by using the primary account, the second sub-service object that fails to be processed and not processed to the primary platform; the primary platform may be configured to adopt the processing failure. And the second sub-business object that is not processed generates a target business object.
  • the embodiment of the present invention further provides a processing system for a business object based on a third-party platform, where the main platform is connected to one or more third-party platforms, and the third-party platform stores the main account of the main platform.
  • the primary account includes a primary parameter
  • the third-party platform is connected to an operating platform, and the operating platform stores one or more thirds thereof on the third-party platform.
  • a third party account includes a third party parameter
  • the operation platform includes one or more clients and a control center that manages the one or more clients, and the client stores its own operating platform a sub-account, the sub-account including sub-parameters;
  • the system includes:
  • a first receiving module adapted to receive a processing request of an original business object
  • the first sending module is adapted to send the processing request to the one or more clients.
  • the processing request includes a parameter variable
  • the one or more clients are configured to send the processing request to the third party by using the third-party account.
  • the platform is configured to send the processing request to the main platform by using the primary account, and adjust the third-party parameters of the third-party account by using the parameter variable; And adjusting the main parameter of the primary account by using the parameter variable; the system further includes:
  • the first adjustment module is adapted to adjust the sub-parameters of the sub-account by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  • the first sending module is further adapted to:
  • the processing request is sent to the one or more clients.
  • the processing request further includes an original service object, where the main platform is further configured to generate a target service object by using the original service object.
  • system further includes:
  • the alarm module is configured to generate alarm information when the sub-parameter of the sub-account is less than a preset threshold.
  • the third-party platform further stores a first deadline and a configuration probability for the service object, and the at least one third-party platform has a second deadline for the service object.
  • the system also includes:
  • the first adjustment module is configured to set a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold when the second deadline is reached; the second deadline is less than or Equal to the first deadline;
  • a second adjustment module configured to adjust corresponding configuration probabilities of other third-party platforms
  • the first sending module includes:
  • a determining module configured to determine, according to a current configuration probability, a third-party platform for processing the processing request and one or more corresponding clients thereof;
  • a sending module configured to send the first service object to the one or more clients; the one or more clients are configured to use the first service according to an interface parameter preset by the third-party platform
  • the object generates a second business object, and sends the second business object to the third-party platform; the third-party platform is configured to generate a target business object by using the primary account, the primary parameter, and the second business object .
  • the sum of the configuration probabilities of all the third-party platforms is 0 or 1.
  • the client has the permission information corresponding to the original service object, and the first sending module is further adapted to:
  • the original service object includes model information and version information
  • the first sending module is further adapted to:
  • the specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform is 1.
  • the processing request further includes an original service object, where the original service object includes a first parameter value, and the first sending module includes:
  • a first dividing module configured to: when the original business object is verified to be legal, divide the original business object into one or more first sub-service objects according to the first parameter value;
  • a sending module configured to send the one or more first sub-service objects to a client; the client is configured to divide the first sub-service object into one or more second sub-service objects, Transmitting the one or more second sub-service objects to the third-party platform; the third-party platform is configured to generate the target service object by using the main account, the main parameter, and the second sub-service object.
  • the first parameter value includes first rate information and/or first quantity information
  • the first sub-service object includes a second parameter value;
  • the second parameter value includes second magnification information and/or second quantity information;
  • the product of the second magnification information is equal to the first magnification information
  • the sum of the second quantity information is equal to the first quantity information.
  • the first sending module is further adapted to:
  • the sum of the configuration probabilities corresponding to all the third-party platforms is 1.
  • system further includes:
  • the first change module is adapted to change the state of the second sub-business object to an in-process state.
  • system further includes:
  • the second change module is adapted to change the state of the second sub-service object corresponding to the target service object to a completion state when receiving the information of the target service object sent by the client.
  • system further includes:
  • the return module is configured to return information that the original business object completes processing when all the states of the second sub-business object are in a completed state.
  • system further includes:
  • An obtaining module configured to acquire, from the third-party platform, a processing result of the second sub-service object when the completion status change fails; the processing result includes a processing failure;
  • a comparison module configured to compare the second sub-business object with the original business object to obtain a second sub-service object that is not processed
  • a second sending module configured to send the processed and unprocessed second sub-service object to the client;
  • the client is configured to send the processed and unprocessed second sub-service object to a third-party platform;
  • the third-party platform is configured to generate a target business object by using the primary account, the primary parameter, and the second sub-service object that fails to process and is not processed.
  • the business object includes lottery data
  • the third party platform includes a ticket issuer
  • the client includes a ticket clerk.
  • An embodiment of the present invention provides a processing system for a service object based on a third-party platform, where the main platform is connected to one or more third-party platforms, and the third-party platform stores its main account on the main platform,
  • the primary account includes a primary parameter
  • the third-party platform is connected to the operating platform, and the operating platform stores one or more third-party accounts on the third-party platform, and the third-party account includes third-party parameters
  • the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores its sub-accounts in the operation platform, and the sub-accounts include sub-parameters;
  • the system includes:
  • a second receiving module configured to receive a processing request of an original service object sent by the control center
  • the second sending module is adapted to send the processing request to the third-party platform by using the third-party account.
  • the processing request includes a parameter variable
  • the third-party platform is configured to send the processing request to the main platform by using the primary account, and adopt The parameter variable adjusts a third-party parameter of the third-party account; the master platform is configured to adjust a primary parameter of the primary account by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  • the second sending module is further adapted to:
  • the processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
  • the interface parameter includes one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the processing request includes an original service object
  • the main platform is further configured to generate a target service object by using the original service object.
  • the processing request includes a first sub-service object, the first sub-service object is a receiving original service object, and the original service object includes a first parameter value, when And verifying, when the original business object is legal, dividing the original business object into one or more first sub-service objects according to the parameter value; and the second sending module includes:
  • a second dividing module configured to divide the first sub-service object into one or more second sub-service objects
  • a sending module configured to send the one or more second sub-service objects to a third-party platform, where the third-party platform is configured to generate a target by using the primary account, the primary parameter, and the second sub-service object Business object.
  • system further includes:
  • a third receiving module configured to receive a second sub-service object that fails to process and is not processed
  • a fourth sending module configured to send the second sub-service object that fails to be processed to the third-party platform; the third-party platform is configured to adopt the main account, the main parameter, and the processing fails And the second sub-business object that is not processed generates a target business object.
  • the third party platform includes a ticket voucher
  • the client includes a ticket clerk.
  • the embodiment of the present invention further provides a processing system for a business object based on a third-party platform, where the main platform is connected to one or more third-party platforms, and the third-party platform stores the main account of the main platform.
  • the third account platform is connected to the operation platform, and the operation platform stores one or more third party accounts on the third party platform, and the third party account includes third party parameters.
  • the operating platform includes one or more clients and a control center that manages the one or more clients, the client retains its sub-accounts in the operating platform, and the sub-accounts include sub-parameters;
  • the system includes:
  • a third receiving module configured to receive a processing request of the original service object sent by the one or more clients
  • the third sending module is adapted to send the processing request to the main platform by using the primary account.
  • the processing request includes a parameter variable;
  • the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable;
  • the system further includes :
  • the second adjustment module is adapted to adjust the third-party parameters of the third-party account by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  • the third receiving module is further adapted to:
  • the interface parameter includes one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the processing request further includes an original service object, where the main platform is further configured to generate a target service object by using the original service object.
  • the third party platform includes a ticket voucher
  • the client includes a ticket clerk.
  • Embodiment 1 of a processing system for a third-party platform-based business object according to an embodiment of the present invention is shown.
  • the main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform.
  • the operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. a control center of one or more clients, the client may maintain a sub-account of the operating platform, and the sub-account may include sub-parameters;
  • the system can include the following modules:
  • the first receiving module 110 is adapted to receive a processing request of the original service object; the processing request includes a parameter variable;
  • a first sending module 120 configured to send the processing request to the one or more clients, where the one or more clients are configured to send the processing request to the first a third-party platform, wherein the third-party platform is configured to send the processing request to the main platform by using the primary account, and adjust, by using the parameter variable, a third-party parameter of the third-party account;
  • the platform is configured to adjust the main parameter of the primary account by using the parameter variable;
  • the first adjustment module 130 is adapted to adjust the sub-parameters of the sub-account by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
  • the first sending module 110 may further be adapted to:
  • the processing request is sent to the one or more clients.
  • the processing request may further include an original service object
  • the main platform may be further configured to generate the target business object by using the original business object.
  • system may further comprise the following modules:
  • the alarm module is configured to generate alarm information when the sub-parameter of the sub-account is less than a preset threshold.
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • Embodiment 2 of a processing system for a third-party platform-based business object according to an embodiment of the present invention is shown.
  • the main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform.
  • the operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. a control center of one or more clients, the client may maintain a sub-account of the operating platform, and the sub-account may include sub-parameters;
  • the system can include the following modules:
  • the second receiving module 210 is adapted to receive a processing request of the original service object sent by the control center; the processing request includes a parameter variable;
  • the second sending module 220 is configured to send the processing request to the third-party platform by using the third-party account, where the third-party platform is configured to send the processing request to the main platform by using the primary account And adjusting, by using the parameter variable, a third-party parameter of the third-party account; the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
  • the second sending module 220 is further adapted to:
  • the processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
  • the interface parameter may include one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the processing request may further include an original service object
  • the main platform may be further configured to generate the target business object by using the original business object.
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • Embodiment 3 of a processing system for a third-party platform-based business object according to an embodiment of the present invention is shown;
  • the main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform.
  • the operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. a control center of one or more clients, the client may maintain a sub-account of the operating platform, and the sub-account may include sub-parameters;
  • the system can include the following modules:
  • the third receiving module 310 is adapted to receive a processing request of the original service object sent by the one or more clients; the processing request includes a parameter variable;
  • the third sending module 320 is adapted to send the processing request to the a main platform; the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable;
  • the second adjustment module 330 is adapted to adjust the third-party parameters of the third-party account by using the parameter variable.
  • the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
  • the third receiving module 310 is further adapted to:
  • the interface parameter may include one or more of the following:
  • Third-party parameter query parameters third-party account name, interface address, third-party account number, user ID, and key.
  • the processing request may further include an original service object
  • the main platform may be further configured to generate the target business object by using the original business object.
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • Embodiment 4 of a processing system of a third-party platform-based business object according to an embodiment of the present invention is shown;
  • the primary platform may be connected to one or more third-party platforms, the third-party platform may maintain its primary account number on the primary platform and a first deadline and configuration probability for the business object, and at least one third-party platform may have For the second deadline of the business object, the primary account may include a primary parameter, and the third-party platform may be connected to an operating platform, and the operating platform may include one or more clients and manage the one or more Client's control center;
  • the system can include the following modules:
  • the first adjustment module 410 is configured to set a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold when the second deadline is reached; the second deadline is less than Or equal to the first deadline;
  • the second adjustment module 420 is adapted to perform corresponding adjustments on configuration probabilities of other third-party platforms
  • the receiving module 430 is adapted to receive a processing request of the original service object.
  • the determining module 440 is adapted to determine, according to the current configuration probability, a third-party platform for processing the request and its corresponding one or more clients;
  • the sending module 450 is adapted to send the original service object to the one or more clients; the one or more clients are configured to use the original business object according to an interface parameter preset by the third-party platform Generating a child business object, and sending the child business object to the third party platform; the third party platform is configured to generate a target business object by using the primary account, the primary parameter, and the child business object.
  • the sum of the configuration probabilities of all of the third party platforms may be 0 or 1.
  • the client may have permission information corresponding to the processing service object, and the determining module 440 may further be configured to:
  • a third party platform for processing the request and its corresponding one or more clients having rights information are determined according to the current configuration probability.
  • the service object may include model information and version information
  • the determining module 440 may further be configured to:
  • the specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform may be 1.
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • FIG. 17 there is shown a structural block diagram of a system embodiment 5 for processing a service object based on a third-party platform, which may have a primary account number and a primary parameter, one or more, according to an embodiment of the present invention.
  • the client can be connected to the third party platform, and the system can include the following modules:
  • the first receiving module 510 is adapted to receive an original service object; the original service object includes a first parameter value;
  • the first dividing module 520 is adapted to, when the original business object is verified to be legal, divide the original business object into one or more first sub-service objects according to the parameter value;
  • the sending module 530 is adapted to send the one or more first sub-service objects to the client; the client is configured to divide the first sub-service object into one or more second sub-service objects, The one or more second sub-service objects are sent to a third-party platform; the third-party platform is configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object.
  • the first parameter value may include first rate information and/or first quantity information
  • the first sub-service object may include a second parameter value; the second parameter value may include second rate information and/or second quantity information;
  • the product of the second magnification information may be equal to the first magnification information
  • the sum of the second quantity information may be equal to the first quantity information.
  • the first sending module may further be adapted to:
  • the sum of the configuration probabilities corresponding to all third party platforms may be one.
  • system may further comprise the following modules:
  • the first change module is adapted to change the state of the second sub-business object to an in-process state.
  • system may further comprise the following modules:
  • the second change module is adapted to change the state of the second sub-service object corresponding to the target service object to a completion state when receiving the information of the target service object sent by the client.
  • system may further comprise the following modules:
  • the return module is configured to return information that the original business object completes processing when all the states of the second sub-business object are in a completed state.
  • system may further comprise the following modules:
  • An obtaining module configured to acquire, from the third-party platform, a processing result of the second sub-service object when the completion status change fails; the processing result includes a processing failure;
  • a comparison module configured to compare the second sub-business object with the original business object to obtain a second sub-service object that is not processed
  • a second sending module configured to send the processed and failed second sub-service object to the third-party platform;
  • the third-party platform is configured to re-apply the account, the privilege data, and the The second sub-business object that has failed to process and is not processed generates a target business object.
  • the third party platform may include a ticket voucher
  • the client may include a ticket clerk.
  • FIG. 18 it is a structural block diagram of a system embodiment 6 for processing a service object based on a third-party platform, which may have a primary account number and a primary parameter, one or more, according to an embodiment of the present invention.
  • the client can be connected to the third party platform, and the system can include the following modules:
  • the second receiving module 610 is adapted to receive the first sub-service object; the first sub-service object is to receive the original service object, where the original service object includes a first parameter value, when the original business object is verified to be legal, according to The parameter value divides one or more first sub-service objects of the original business object;
  • a second dividing module 620 configured to divide the first sub-service object into one or more Two sub-business objects
  • the sending module 630 is configured to send the one or more second sub-service objects to a third-party platform, where the third-party platform is configured to generate by using the primary account, the primary parameter, and the second sub-service object Target business object.
  • system may further comprise the following modules:
  • a third receiving module configured to receive a second sub-service object that fails to process and is not processed
  • a fourth sending module configured to send the second sub-service object that fails to be processed to the third-party platform; the third-party platform is configured to adopt the main account, the main parameter, and the processing fails And the second sub-business object that is not processed generates a target business object.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • DSPs digital signal processors
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals.
  • signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • FIG. 19 illustrates a processing server, such as an application server, that can implement a third party platform based business object in accordance with the present invention.
  • the server conventionally includes a processor 1910 and a computer program product or computer readable medium in the form of a memory 1920.
  • the memory 1920 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 1920 has a memory space 1930 for program code 1931 for performing any of the method steps described above.
  • storage space 1930 for program code may include separate implementations for implementing the various steps in the above methods, respectively.
  • Program code 1931 The program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1920 in the server of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 2031', code that can be read by, for example, a processor such as 1910, which when executed by the server causes the server to perform various steps in the methods described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are a service object processing method and system based on a third-party platform. The method comprises: receiving a processing request of an original service object, the processing request comprising a parameter variable; sending the processing request to one or more clients, the one or more clients being used for sending the processing request to a third-party platform by using a third-party account number, the third-party platform being used for sending the processing request to a main platform by using a main account number or being used for adjusting a third-party parameter of the third-party account number by using the parameter variable; and the main platform being used for adjusting a main parameter of the main account number by using the parameter variable; and adjusting a sub-parameter of a sub-account number by using the parameter variable. The present invention solves the problem that an error cannot be searched for when data is inconsistent, and improves the accuracy rate and the coverage rate of collected data, improves the management efficiency, and ensures the security and the stability of the data.

Description

一种基于第三方平台的业务对象的处理方法和***Method and system for processing business object based on third party platform 技术领域Technical field
本发明涉及一种数据处理的技术领域,尤其涉及一种基于第三方平台的业务对象的处理方法和一种基于第三方平台的业务对象的处理***。The present invention relates to the technical field of data processing, and in particular, to a method for processing a business object based on a third-party platform and a processing system for a business object based on a third-party platform.
背景技术Background technique
多级联机的权限***中,主服务器与多个第三方服务器相连,第三方服务器与多个客户端相连。第三方服务器具有主服务器的账号并具有权限数据,权限数据具有参数值。In a multi-level online privilege system, the primary server is connected to multiple third-party servers, and the third-party server is connected to multiple clients. The third-party server has the account of the primary server and has permission data, and the permission data has parameter values.
多个客户端在需要进行业务对象的处理时,会基于第三方服务器的账号与主服务器采用权限数据进行业务对象的处理,在本地记录权限数据的参数值的变化。When multiple clients need to process the business object, the transaction object is processed based on the account of the third-party server and the primary server, and the parameter value of the permission data is recorded locally.
客户端由于性能低下,可能由于误操作、挂机等原因出现权限数据处理错误,而第三方服务器是无法记录该错误的,在客户端无法查询错误出处的情况下,使得第三方服务器与客户端核对权限数据的参数值的变化记录时,两者无法匹配,也无法找出数据处理的错误,第三方服务器采集的数据准确度低、覆盖率低,使得管理效率低下,容易造成财产的损失。Due to poor performance, the client may have permission data processing errors due to misoperation, hang up, etc., and the third-party server cannot record the error. If the client cannot query the source of the error, the third-party server and the client check the error. When the change of the parameter value of the permission data is recorded, the two cannot be matched, and the error of data processing cannot be found. The data collected by the third-party server has low accuracy and low coverage, which makes the management inefficiency and easily causes property loss.
第三方服务器并不参与网络资源的分配,使得客户端非自律地向主服务器进行业务对象的处理,第三方服务器和主服务器多次响应,不仅造成网络资源的浪费,而且造成第三方服务器的服务质量下降。The third-party server does not participate in the allocation of network resources, so that the client does not self-discipline the processing of the business object to the primary server, and the third-party server and the primary server respond multiple times, which not only causes waste of network resources, but also causes services of the third-party server. decline in quality.
另外,由于第三方服务器的运行平台的接受业务对象处理的截止时间不同,某些第三方服务器的截止时间较早,而某些第三方服务器的截止时间较晚,因此,多个客户端在第三方服务器截止时间后接收到业务对象处理需要人工进行配置概率的调整。In addition, because the deadline for accepting business object processing by the running platform of the third-party server is different, some third-party servers have an earlier deadline, while some third-party servers have a late deadline, so multiple clients are in the first After receiving the business object processing after the tripartite server deadline, manual adjustment of the configuration probability is required.
当选择到已经到了截止时间的第三方服务器时,第三方服务器的响应,不仅造成了客户端的资源浪费,还造成了第三方服务器的资源浪费。当业务对象的数据量大时,人工操作的成本逐渐增加使得难以承受,而多个客户端由于人工操作而导致整体的处理效率减低,而且造成多个客户端与第三方服 务器的服务质量下降。When a third-party server that has reached the deadline is selected, the response of the third-party server not only causes waste of resources of the client, but also wastes resources of the third-party server. When the amount of data of a business object is large, the cost of manual operation is gradually increased, which makes it difficult to bear, and the overall processing efficiency of multiple clients is reduced due to manual operations, and multiple clients and third party services are caused. The service quality of the server has declined.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种基于第三方平台的业务对象的处理方法和相应的一种基于第三方平台的业务对象的处理***。In view of the above problems, the present invention has been made in order to provide a third party platform based business object processing method and a corresponding third party platform based business object processing system that overcome the above problems or at least partially solve the above problems. .
根据本发明的一个方面,提供了一种基于第三方平台的业务对象的处理方法,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to an aspect of the present invention, a method for processing a business object based on a third-party platform is provided, the main platform is connected to one or more third-party platforms, and the third-party platform stores its main account on the main platform. The primary account includes a primary parameter, and the third-party platform is connected to the operating platform, and the operating platform stores one or more third-party accounts on the third-party platform, where the third-party account includes third-party parameters. The operating platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
所述方法包括:The method includes:
接收原始业务对象的处理请求;Receiving a processing request of the original business object;
将所述处理请求发送至所述一个或多个客户端。The processing request is sent to the one or more clients.
根据本发明的另一个方面,提供了一种基于第三方平台的业务对象的处理方法,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to another aspect of the present invention, a method for processing a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform An account number, the master account includes a main parameter, the third-party platform is connected to an operation platform, and the operation platform stores one or more third-party accounts on the third-party platform, and the third-party account includes a third party. a parameter, the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
所述方法包括:The method includes:
接收控制中心发送的原始业务对象的处理请求;Receiving a processing request of an original business object sent by the control center;
采用所述第三方账号将所述处理请求发送至所述第三方平台。The processing request is sent to the third party platform by using the third party account.
根据本发明的另一方面,提供了一种基于第三方平台的业务对象的处理方法,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台 与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to another aspect of the present invention, a method for processing a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform An account number, the master account includes a main parameter, and the third party platform Connected to an operation platform, the operation platform stores one or more third party accounts on the third party platform, the third party account includes third party parameters, and the operation platform includes one or more clients and management a control center of the one or more clients, the client retains a sub-account of the operating platform, and the sub-account includes sub-parameters;
所述方法包括:The method includes:
接收所述一个或多个客户端发送的原始业务对象的处理请求;Receiving a processing request of the original business object sent by the one or more clients;
采用所述主账号将所述处理请求发送至所述主平台。The processing request is sent to the main platform by using the primary account.
根据本发明的另一方面,提供了一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to another aspect of the present invention, a processing system for a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform An account number, the master account includes a main parameter, the third-party platform is connected to an operation platform, and the operation platform stores one or more third-party accounts on the third-party platform, and the third-party account includes a third party. a parameter, the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
所述***包括:The system includes:
第一接收模块,适于接收原始业务对象的处理请求;a first receiving module, configured to receive a processing request of an original service object;
第一发送模块,适于将所述处理请求发送至所述一个或多个客户端。The first sending module is adapted to send the processing request to the one or more clients.
根据本发明的另一方面,提供了一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to another aspect of the present invention, a processing system for a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform An account number, the master account includes a main parameter, the third-party platform is connected to an operation platform, and the operation platform stores one or more third-party accounts on the third-party platform, and the third-party account includes a third party. a parameter, the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
所述***包括:The system includes:
第二接收模块,适于接收控制中心发送的原始业务对象的处理请求;a second receiving module, configured to receive a processing request of an original service object sent by the control center;
第二发送模块,适于采用所述第三方账号将所述处理请求发送至所述第三方平台。 The second sending module is adapted to send the processing request to the third-party platform by using the third-party account.
根据本发明的另一方面,提供了一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to another aspect of the present invention, a processing system for a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform An account number, the master account includes a main parameter, the third-party platform is connected to an operation platform, and the operation platform stores one or more third-party accounts on the third-party platform, and the third-party account includes a third party. a parameter, the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
所述***包括:The system includes:
第三接收模块,适于接收所述一个或多个客户端发送的原始业务对象的处理请求;a third receiving module, configured to receive a processing request of the original service object sent by the one or more clients;
第三发送模块,适于采用所述主账号将所述处理请求发送至所述主平台。The third sending module is adapted to send the processing request to the main platform by using the primary account.
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在服务器上运行时,导致所述服务器执行上述的基于第三方平台的业务对象的处理方法。According to still another aspect of the present invention, a computer program is provided, comprising computer readable code, when said computer readable code is run on a server, causing said server to perform said third party platform based business object Approach.
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了上述的计算机程序。According to still another aspect of the present invention, a computer readable medium is provided, wherein the computer program described above is stored.
本发明的有益效果为:The beneficial effects of the invention are:
本发明增加了客户端的子账号,对权限***改造小、侵入少且接入简单,减小了开发成本,并有利于搭建统一控制中心,扩展性好。The invention increases the sub-account of the client, has small transformation of the authority system, less intrusion and simple access, reduces development cost, and is conducive to constructing a unified control center with good expansibility.
本发明基于子参数、第三方参数和主参数实现了各级权限数据细颗粒度的管理,提高了整体的可控性,减少了各级用户非自律地发起服务请求,减少了各级设备的资源耗费,提高了整体的服务质量。The invention realizes the management of fine granularity of the authority data of each level based on the sub-parameters, the third-party parameters and the main parameters, improves the overall controllability, reduces the non-self-regular initiation of service requests by users at all levels, and reduces the equipment of all levels. Resource consumption has improved the overall quality of service.
本发明接收业务对象的处理请求,处理请求中包括参数变量,在控制中心采用参数变量对子账号的子参数进行调整,在第三方平台采用参数变量对第三方账号的第三方参数进行调整,在主平台采用参数变量对主账号的主参数进行调整,使得子账号、第三方账号和主账号的调整保持一致,解决了出现数据不一致时无法查找错误的问题,提高了采集数据的准确率、覆盖率,提高了管理效率,保障了数据的安全和稳定。 The invention receives the processing request of the business object, and the processing request includes a parameter variable, and the parameter variable is used to adjust the sub-parameter of the sub-account in the control center, and the third-party parameter of the third-party account is adjusted by using the parameter variable in the third-party platform, The main platform uses parameter variables to adjust the main parameters of the primary account, so that the adjustment of the sub-account, the third-party account and the main account are consistent, which solves the problem that the data cannot be found incorrectly when the data is inconsistent, and improves the accuracy and coverage of the collected data. Rate, improve management efficiency, and ensure data security and stability.
本发明在到达所述第二截止时间时,将第二截止时间对应的第三方平台的配置概率设置为低于预设阈值的比例,然后按照调整后的比例进行业务对象的处理,解决了将业务对象发送给已到达第一截止时间的第三方平台处理而造成的业务对象处理失败的问题,进而避免了因处理失败而造成的额外资源耗费,提高了业务对象的处理成功率,提高了整体的管理效率、运行效率。When the second deadline is reached, the present invention sets the configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than the preset threshold, and then processes the business object according to the adjusted ratio, and solves the problem. The business object is sent to the third-party platform that has reached the first deadline to process the failure of the business object processing, thereby avoiding the extra resource consumption caused by the processing failure, improving the processing success rate of the business object, and improving the overall Management efficiency and operational efficiency.
本发明基于配置概率可以对应调整第三方平台的业务对象的运算量,实现了全网第三方平台的负载均衡,减少了网络堵塞,优化了访问流量,提高了整体的服务质量,为用户提供更好的体验。The invention can adjust the calculation amount of the business object of the third-party platform based on the configuration probability, realize the load balancing of the third-party platform of the whole network, reduce the network congestion, optimize the access traffic, improve the overall service quality, and provide the user with more Good experience.
本发明的控制中心在接收到原始业务对象时,将原始业务对象拆分为一个或多个第一子业务对象,客户端将第一子业务对象拆分为一个或多个第二子业务对象,再发送到对应的第三方平台进行处理,实现了将数据运算量平均分配,进而实现了全网的均衡负载,避免了客户端与第三方平台的资源占用过大的问题,大大减少了数据的预算时间,提高了业务对象的处理效率,进而提高了全网的服务质量,提高了用户体验。When the control center of the present invention receives the original business object, the original business object is split into one or more first child business objects, and the client splits the first child business object into one or more second child business objects. Then, it is sent to the corresponding third-party platform for processing, and the data operation amount is evenly distributed, thereby realizing the balanced load of the whole network, avoiding the problem of excessive resource occupation of the client and the third-party platform, and greatly reducing the data. The budget time improves the processing efficiency of business objects, thereby improving the service quality of the entire network and improving the user experience.
本发明基于配置概率可以对应调整第三方平台的业务对象的运算量,实现了全网第三方平台的负载均衡,减少了网络堵塞,优化了访问流量,提高了整体的服务质量,为用户提供更好的体验。The invention can adjust the calculation amount of the business object of the third-party platform based on the configuration probability, realize the load balancing of the third-party platform of the whole network, reduce the network congestion, optimize the access traffic, improve the overall service quality, and provide the user with more Good experience.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1示出了根据本发明一个实施例的一种权限***的结构图; 1 shows a block diagram of a rights system in accordance with one embodiment of the present invention;
图2示出了根据本发明一个实施例的一种账号关系结构示例图;FIG. 2 is a diagram showing an example of an account relationship structure according to an embodiment of the present invention; FIG.
图3示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例1的步骤流程图;FIG. 3 is a flow chart showing the steps of Embodiment 1 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention;
图4示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例2的步骤流程图;FIG. 4 is a flow chart showing the steps of Embodiment 2 of a method for processing a third-party platform-based business object according to an embodiment of the present invention;
图5示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例3的步骤流程图;FIG. 5 is a flow chart showing the steps of Embodiment 3 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention;
图6示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例4的步骤流程图;FIG. 6 is a flow chart showing the steps of Embodiment 4 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention;
图7示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例4的配置概率的设置示例图;FIG. 7 is a diagram showing an example of setting a configuration probability of Embodiment 4 of a processing method of a third-party platform-based business object according to an embodiment of the present invention; FIG.
图8示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例4的权限信息的设置示例图;FIG. 8 is a diagram showing an example of setting permission information of Embodiment 4 of a processing method of a third-party platform-based business object according to an embodiment of the present invention;
图8A示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例4的指定业务对象的设置示例图;FIG. 8A is a diagram showing an example of setting a specified service object according to Embodiment 4 of a processing method of a third-party platform-based business object according to an embodiment of the present invention; FIG.
图9示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例5的步骤流程图;FIG. 9 is a flow chart showing the steps of Embodiment 5 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention;
图10示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例6的步骤流程图;FIG. 10 is a flow chart showing the steps of Embodiment 6 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention;
图11示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例7的步骤流程图;FIG. 11 is a flow chart showing the steps of Embodiment 7 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention;
图12示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例7的业务对象的拆分示例图;FIG. 12 is a diagram showing an example of splitting a business object according to Embodiment 7 of a processing method of a third-party platform-based business object according to an embodiment of the present invention; FIG.
图13示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理***实施例1的结构框图;FIG. 13 is a structural block diagram of Embodiment 1 of a processing system for a third-party platform-based business object according to an embodiment of the present invention;
图14示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理***实施例2的结构框图;FIG. 14 is a structural block diagram of Embodiment 2 of a processing system for a third-party platform-based business object according to an embodiment of the present invention;
图15示出了根据本发明一个实施例的一种基于第三方平台的业务对 象的处理***实施例3的结构框图;FIG. 15 illustrates a service pair based on a third party platform according to an embodiment of the present invention. The structural block diagram of the processing system embodiment 3 of the image;
图16示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理***实施例4的结构框图;16 is a structural block diagram of Embodiment 4 of a processing system for a third-party platform-based business object according to an embodiment of the present invention;
图17示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理***实施例5的结构框图;FIG. 17 is a structural block diagram of Embodiment 5 of a processing system for a third-party platform-based business object according to an embodiment of the present invention;
图18示出了根据本发明一个实施例的一种基于第三方平台的业务对象的处理***实施例6的结构框图;FIG. 18 is a structural block diagram of Embodiment 6 of a processing system for a third-party platform-based business object according to an embodiment of the present invention;
图19示意性地示出了用于执行根据本发明的方法的服务器的框图;以及Figure 19 is a schematic block diagram showing a server for performing the method according to the present invention;
图20示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。Fig. 20 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
具体实施方式detailed description
下面结合附图和具体的实施方式对本发明作进一步的描述。The invention is further described below in conjunction with the drawings and specific embodiments.
在不同***的业务领域,所面向的业务对象也各不相同。例如,在新闻媒体***的业务领域中,面向的业务对象可以为新闻数据;在电子商务***的业务领域中,面向的业务对象可以为商品数据和商店数据;在彩票***的业务领域中,面向的业务对象可以为彩票数据,等等。In the business areas of different systems, the business objects are also different. For example, in the business field of the news media system, the oriented business object may be news data; in the business field of the electronic commerce system, the oriented business object may be commodity data and store data; in the business field of the lottery system, Business objects can be lottery data, and so on.
同时,在不同***的业务领域中,可以存在多方共同协助进行业务对象的处理。在这些***中通常存在权限管理,一般指根据***设置的安全规则或者安全策略,***中的用户可以访问而且只能访问自己被授权的资源。At the same time, in the business field of different systems, there may be multiple parties to assist in the processing of business objects. Permission management usually exists in these systems. Generally speaking, according to security rules or security policies set by the system, users in the system can access and can only access resources that are authorized by themselves.
下面以彩票***为例进行说明。The lottery system is taken as an example for explanation.
参照图1,示出了根据本发明一个实施例的一种权限***的结构图。Referring to Figure 1, there is shown a block diagram of a rights system in accordance with one embodiment of the present invention.
如图1所示,主平台可以与一个或多个第三方平台相连,所述第三方平台可以与运营平台相连,运营平台可以包括一个或多个客户端及管理所述一个或多个客户端的控制中心。As shown in FIG. 1, the main platform may be connected to one or more third-party platforms, and the third-party platform may be connected to an operation platform, and the operation platform may include one or more clients and manage the one or more clients. control center.
以彩票***为例,主平台可以包括国家的彩票中心(例如福彩中心或体彩中心等等),其具有业务对象(彩票数据)的生成权限。第三方平 台可以包括出票商,即指提供彩票出票(销售)、兑奖、期号查询等彩票相关服务的第三方彩票公司(可以包括各省级的彩票中心),其具有业务对象(彩票数据)的销售权限和请求生成业务对象(彩票数据)的权限。运营平台可以包括与一个或多个第三方平台合作的平台,其具有业务对象(彩票数据)的销售权限。客户端可以包括出票员,即将彩票数据任务按出票商的接口规范拆分成彩票数据,控制中心可以包括运营平台的后台,负责运营平台的基础事务。Taking the lottery system as an example, the main platform may include a national lottery center (for example, a Welfare Lottery Center or a Sports Lottery Center, etc.) having the permission to generate a business object (lottery data). Third party The station may include a ticket issuing party, that is, a third-party lottery company (which may include provincial-level lottery centers) that provides lottery-related services such as lottery ticketing (sales), redemption, and period number inquiry, and has a business object (lottery data) The sales permissions and permissions to generate business objects (lottery data). The operational platform may include a platform that cooperates with one or more third party platforms with sales rights for business objects (lottery data). The client may include a ticket clerk, which divides the lottery data task into lottery data according to the interface specification of the ticket clerk, and the control center may include a background of the operation platform, and is responsible for the basic affairs of the operation platform.
参照图2,示出了根据本发明一个实施例的一种账号关系结构示例图。Referring to FIG. 2, there is shown an exemplary diagram of an account relationship structure in accordance with one embodiment of the present invention.
所述第三方平台可以保存有其在主平台的主账号,所述主账号可以包括主参数,运营平台可以保存有其在所述第三方平台的一个或多个第三方账号,所述子账号可以包括第三方参数,所述客户端可以保存有其在所述运营平台的子账号,所述子账号可以包括子参数。The third-party platform may save its primary account on the primary platform, the primary account may include a primary parameter, and the operating platform may save one or more third-party accounts on the third-party platform, the sub-account A third party parameter can be included, the client can hold its sub-account on the operating platform, and the sub-account can include sub-parameters.
在具体实现中,一个第三方平台可以只有一个主账号,一个运营平台可以有同一个第三方平台的一个或多个第三方账号,一个客户端可以只有一个子账号。In a specific implementation, a third-party platform may have only one primary account, one operating platform may have one or more third-party accounts of the same third-party platform, and one client may have only one sub-account.
主参数可以包括参数名和参数值,主参数可以为第三方平台请求主平台生成业务对象的权限参数,即第三方平台的主账号具有此权限参数且参数值满足业务对象的要求时,主平台才会响应第三方平台的生成业务对象的请求。在彩票数据***中,主参数可以为出票商在彩票中心的预存款(参数名),其参数值为预存款额度(参数值)。The main parameter may include a parameter name and a parameter value, and the main parameter may be a permission parameter that the third-party platform requests the main platform to generate the business object, that is, when the primary account of the third-party platform has the permission parameter and the parameter value satisfies the requirement of the business object, the main platform is Will respond to requests from third-party platforms to generate business objects. In the lottery data system, the main parameter may be a pre-deposit (parameter name) of the ticket seller at the lottery center, and the parameter value is a pre-deposit amount (parameter value).
第三方参数可以包括参数名和参数值,第三方参数可以为运营平台请求第三方平台通过主平台生成业务对象的权限参数,即运营平台的第三方账号具有此权限参数且参数值满足业务对象的要求时,第三方平台才会响应运营平台的生成业务对象的请求。在彩票数据***中,第三方参数可以为运营平台在出票商的预存款(参数名),其参数值为预存款额度(参数值)。The third-party parameter may include the parameter name and the parameter value. The third-party parameter may be used by the operating platform to request the third-party platform to generate the permission parameter of the service object through the main platform, that is, the third-party account of the operation platform has the permission parameter and the parameter value satisfies the requirement of the business object. The third-party platform responds to requests from the operating platform to generate business objects. In the lottery data system, the third-party parameter may be a pre-deposit (parameter name) of the operating platform at the ticket issuer, and the parameter value is a pre-deposit amount (parameter value).
子参数可以包括参数名和参数值,子参数可以为客户端采用运营平 台的第三方账号请求第三方平台通过主平台生成业务对象的权限参数,即客户端的子账号具有此权限参数且参数值满足业务对象的要求时,控制中心才可以响应,允许客户端采用运营平台的第三方账号请求第三方平台通过主平台生成业务对象。在彩票数据***中,第三方参数可以为运营平台分配给出票员的预存款(参数名),其参数值为预存款分配额度(参数值)。The sub-parameters may include parameter names and parameter values, and the sub-parameters may be operated flat for the client. The third-party account of the station requests the third-party platform to generate the permission parameter of the business object through the main platform, that is, when the sub-account of the client has the permission parameter and the parameter value meets the requirements of the business object, the control center can respond, allowing the client to adopt the operation platform. The third party account requests the third party platform to generate the business object through the main platform. In the lottery data system, the third-party parameter may assign a pre-deposit (parameter name) to the operator for the operator platform, and the parameter value is a pre-deposit allocation quota (parameter value).
一般一个第三方平台只需分配给运营平台一个第三方账号,但是在某些情况下,例如第三方参数有限制(例如云存款有限额)或者第三方平台处理有限制(例如出票速度有限制)时,可申请开通多个第三方账号。每个第三方账号一般都需要跟第三方平台单独的数据核算(例如对账),申请多个第三方账号时会增加运营平台跟第三方平台的数据核算的工作量。Generally, a third-party platform only needs to assign a third-party account to the operating platform, but in some cases, for example, third-party parameters are limited (for example, cloud deposits have a limit) or third-party platform processing is limited (for example, the ticketing speed is limited. When you apply, you can apply for multiple third-party accounts. Each third-party account generally needs to perform separate data accounting (such as reconciliation) with a third-party platform. When applying for multiple third-party accounts, the workload of data accounting between the operating platform and the third-party platform is increased.
在实际中,一个出票商可以对应一个或多个出票员,该一个或多个出票员会使用出票商分配的同一个账户(主账号)请求彩票中心进行彩票数据的制作。In practice, a ticket issuer may correspond to one or more issuers, and the one or more issuers will use the same account (primary account) assigned by the ticket issuer to request the lottery center to make the lottery data.
出票商对账一般只提供其分配的每个接入账户的账单,导致运营平台(例如代购商)跟出票商对账时只能使用出票员汇总账单进行对账,出现问题时很难查找错误记录。The teller reconciliation generally only provides the bill for each access account assigned to it, so that the operating platform (such as the purchasing company) can only use the biller to summarize the bills for reconciliation with the ticket seller. Difficult to find the error record.
此外,同一个出票商对应的多个出票员一般设置有独立的账户进行独立的管理,使得出票员的账户和出票商的账户无法进行实时统一,容易造成处理彩票数据时出现错误。In addition, multiple ticket clerk corresponding to the same ticket seller generally has an independent account for independent management, so that the account of the ticket clerk and the account of the ticket seller cannot be unified in real time, which is easy to cause errors in processing the lottery data. .
进一步的,多个出票员会使用出票商分配的接入账户(第三方账号)进行彩票数据(业务对象)的处理。出票商一般设置有接收订单(彩票数据制作)的截止时间,在该截止时间后,便停止彩票数据的制作。当一个彩种需要分配给多个出票商出票,而每个出票商的接收订单的截止时间不相同时,需要在出票商的截止时间后手工调整分票概率,这样会导致销售时间缩短,影响销量。Further, the plurality of ticket clerk will process the lottery data (business object) using the access account (third party account) assigned by the ticket clerk. The ticket seller generally sets a deadline for receiving the order (lottery data production), and after that deadline, the lottery data is stopped. When a lottery needs to be distributed to multiple ticket sellers to issue tickets, and each drawer's receiving order has different deadlines, it is necessary to manually adjust the probability of the vote after the deadline of the ticket seller, which will lead to sales. Shorter time, affecting sales.
并且,在彩票数据***中,一个很大的彩票的出票任务只能指定给一个 出票商进行出票,因为出票商的出票能力有限制,在销售截止时间前可能无法完成出票,导致出票失败,造成出票商和出票员的服务器质量下降。And, in the lottery data system, a large lottery ticketing task can only be assigned to one The ticket issuer issues the ticket. Because the ticket issuer's ability to issue tickets is limited, the ticket may not be completed before the sales deadline, resulting in the failure of the ticket issue, resulting in a decrease in the quality of the server of the ticket issuer and the ticket issuer.
根据本发明的一方面,提供了一种基于第三方平台的业务对象的处理方法,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to an aspect of the present invention, a method for processing a business object based on a third-party platform is provided. The main platform is connected to one or more third-party platforms, and the third-party platform stores its main account on the main platform. The primary account includes a primary parameter, and the third-party platform is connected to the operating platform, and the operating platform stores one or more third-party accounts on the third-party platform, where the third-party account includes third-party parameters. The operating platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
所述方法包括:The method includes:
接收原始业务对象的处理请求;Receiving a processing request of the original business object;
将所述处理请求发送至所述一个或多个客户端。The processing request is sent to the one or more clients.
在本发明实施例的一种优选实施例中,所述处理请求中包括参数变量,则所述一个或多个客户端用于采用所述第三方账号将所述处理请求发送至所述第三方平台;所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;所述方法还包括:In a preferred embodiment of the present invention, the processing request includes a parameter variable, and the one or more clients are configured to send the processing request to the third party by using the third-party account. The platform is configured to send the processing request to the main platform by using the primary account, and adjust the third-party parameters of the third-party account by using the parameter variable; And adjusting, by using the parameter variable, a primary parameter of the primary account; the method further includes:
采用所述参数变量对所述子账号的子参数进行调整。The sub-parameters of the sub-account are adjusted by using the parameter variable.
在本发明实施例的一种优选实施例中,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。In a preferred embodiment of the embodiment of the present invention, the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
在本发明实施例的一种优选实施例中,所述将所述处理请求发送至所述一个或多个客户端的步骤包括:In a preferred embodiment of the embodiment of the present invention, the step of sending the processing request to the one or more clients includes:
依据预示的配置概率确定用于处理所述处理请求的当前第三方平台及其对应的一个或多个客户端;Determining a current third-party platform for processing the processing request and its corresponding one or more clients according to the predicted configuration probability;
将所述处理请求发送至所述一个或多个客户端。The processing request is sent to the one or more clients.
在本发明实施例的一种优选实施例中,所述处理请求中还包括原始 业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the embodiment of the present invention, the processing request further includes an original A business object, the main platform is further configured to generate a target business object by using the original business object.
在本发明实施例的一种优选实施例中,所述方法还包括:In a preferred embodiment of the embodiment of the present invention, the method further includes:
当所述子账号的子参数小于预设阈值时,生成警报信息。When the sub-parameter of the sub-account is less than a preset threshold, an alarm information is generated.
在本发明实施例的一种优选实施例中,所述第三方平台还保存有针对业务对象的第一截止时间和配置概率,至少一个第三方平台具有针对该业务对象的第二截止时间;在所述接收原始业务对象的处理请求的步骤之前,还包括:In a preferred embodiment of the present invention, the third-party platform further stores a first deadline and a configuration probability for the service object, and at least one third-party platform has a second deadline for the service object; Before the step of receiving the processing request of the original service object, the method further includes:
当到达所述第二截止时间时,将所述第二截止时间对应的第三方平台的配置概率设置为低于预设阈值的比例;所述第二截止时间小于或等于所述第一截止时间;When the second deadline is reached, setting a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold; the second deadline is less than or equal to the first deadline ;
将其他第三方平台的配置概率进行对应的调整;Adjust the configuration probabilities of other third-party platforms accordingly;
所述将所述处理请求发送至所述一个或多个客户端的步骤包括:The step of sending the processing request to the one or more clients includes:
依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的一个或多个客户端;Determining, by the current configuration probability, a third-party platform for processing the processing request and one or more corresponding clients thereof;
将所述第一业务对象发送至所述一个或多个客户端;所述一个或多个客户端用于按照所述第三方平台预设的接口参数将所述第一业务对象生成第二业务对象,将所述第二业务对象发送至所述第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二业务对象生成目标业务对象。Sending the first service object to the one or more clients; the one or more clients are configured to generate the second service according to the interface parameter preset by the third-party platform And the third service platform is configured to generate the target service object by using the primary account, the primary parameter, and the second service object.
在本发明实施例的一种优选实施例中,所有所述第三方平台的配置概率之和为0或1。In a preferred embodiment of the embodiment of the present invention, the sum of the configuration probabilities of all the third-party platforms is 0 or 1.
在本发明实施例的一种优选实施例中,所述客户端具有处理原始业务对象对应的权限信息,所述依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的一个或多个客户端的步骤包括:In a preferred embodiment of the present invention, the client has the authority information corresponding to the original service object, and the third-party platform for processing the processing request and its corresponding information are determined according to the current configuration probability. The steps of one or more clients include:
依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的,且具有权限信息的一个或多个客户端。Determining, according to the current configuration probability, a third-party platform for processing the processing request and its corresponding one or more clients having rights information.
在本发明实施例的一种优选实施例中,所述原始业务对象包括型号信息和版本信息,所述依据当前的配置概率确定用于处理所述处理请求 的第三方平台及其对应的一个或多个客户端的步骤包括:In a preferred embodiment of the present invention, the original service object includes model information and version information, and the determining, according to the current configuration probability, is used to process the processing request. The steps of the third-party platform and its corresponding one or more clients include:
确定用于处理指定请求的当前第三方平台及其对应的一个或多个客户端;Determining the current third-party platform and its corresponding one or more clients for processing the specified request;
其中,所述指定请求包括对指定型号信息和指定版本信息的原始业务对象的处理请求;所述第三方平台的配置概率为1。The specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform is 1.
在本发明实施例的一种优选实施例中,所述原始业务对象包括第一参数值;所述将所述处理请求发送至所述一个或多个客户端的步骤包括:In a preferred embodiment of the present invention, the original service object includes a first parameter value; and the step of sending the processing request to the one or more clients includes:
当检验所述原始业务对象合法时,按照所述第一参数值将所述原始业务对象划分为一个或多个第一子业务对象;When the original business object is verified to be legal, the original business object is divided into one or more first sub-service objects according to the first parameter value;
将所述一个或多个第一子业务对象发送至客户端;所述客户端用于将所述第一子业务对象划分为一个或多个第二子业务对象,将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。Transmitting the one or more first sub-service objects to a client; the client is configured to divide the first sub-service object into one or more second sub-service objects, and the one or more The second sub-service object is sent to the third-party platform; the third-party platform is configured to generate the target service object by using the main account, the main parameter, and the second sub-service object.
在本发明实施例的一种优选实施例中,所述第一参数值包括第一倍率信息和/或第一数量信息;In a preferred embodiment of the present invention, the first parameter value includes first rate information and/or first quantity information;
所述第一子业务对象包括第二参数值;所述第二参数值包括第二倍率信息和/或第二数量信息;The first sub-service object includes a second parameter value; the second parameter value includes second magnification information and/or second quantity information;
所述第二倍率信息的乘积等于所述第一倍率信息;The product of the second magnification information is equal to the first magnification information;
所述第二数量信息的和等于所述第一数量信息。The sum of the second quantity information is equal to the first quantity information.
在本发明实施例的一种优选实施例中,所述将所述一个或多个第一子业务对象发送至客户端的步骤包括:In a preferred embodiment of the present invention, the step of sending the one or more first sub-service objects to the client includes:
依据所述配置概率确定用于处理所述第一子业务对象的当前第三方平台及其对应的一个或多个客户端;Determining, according to the configuration probability, a current third-party platform for processing the first sub-service object and one or more corresponding clients thereof;
将所述第一子业务对象发送至所述一个或多个客户端。Sending the first sub-service object to the one or more clients.
在本发明实施例的一种优选实施例中,所有第三方平台对应的配置概率之和为1。In a preferred embodiment of the embodiment of the present invention, the sum of the configuration probabilities corresponding to all the third-party platforms is 1.
在本发明实施例的一种优选实施例中,所述方法还包括:In a preferred embodiment of the embodiment of the present invention, the method further includes:
将所述第二子业务对象的状态更改为处理中状态。 Change the state of the second child business object to the in-process state.
在本发明实施例的一种优选实施例中,所述方法还包括:In a preferred embodiment of the embodiment of the present invention, the method further includes:
当接收到所述客户端发送的生成目标业务对象的信息时,将所述目标业务对象对应的第二子业务对象的状态更改为完成状态。And when the information about the generated target business object sent by the client is received, the state of the second sub-service object corresponding to the target business object is changed to a completion state.
在本发明实施例的一种优选实施例中,所述方法还包括:In a preferred embodiment of the embodiment of the present invention, the method further includes:
当所有第二子业务对象的状态全部为完成状态时,返回原始业务对象完成处理的信息。When the status of all the second sub-business objects is all completed, the information of the original business object completion processing is returned.
在本发明实施例的一种优选实施例中,所述方法还包括:In a preferred embodiment of the embodiment of the present invention, the method further includes:
当所述完成状态更改失败时,从所述第三方平台获取所述第二子业务对象的处理结果;所述处理结果包括处理失败;Obtaining, by the third-party platform, a processing result of the second sub-service object when the completion status change fails; the processing result includes a processing failure;
将所述第二子业务对象与所述原始业务对象进行对比,获得未进行处理的第二子业务对象;Comparing the second sub-business object with the original business object to obtain a second sub-service object that is not processed;
将所述处理失败和未进行处理的第二子业务对象发送至客户端;所述客户端用于将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。Sending, to the client, the second sub-service object that fails to be processed and sent to the client; the client is configured to send the second sub-service object that fails to be processed to the third-party platform; The three-party platform is configured to generate the target business object by using the primary account, the primary parameter, and the second sub-service object that fails to process and is not processed.
在本发明实施例的一种优选实施例中,所述第三方平台包括出票商,所述客户端包括出票员。In a preferred embodiment of the embodiments of the present invention, the third party platform includes a ticket voucher, and the client includes a ticket clerk.
根据本发明的另一方面,提供了一种基于第三方平台的业务对象的处理方法,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to another aspect of the present invention, a method for processing a business object based on a third party platform is provided, the main platform being connected to one or more third party platforms, the third party platform retaining its main host on the main platform An account number, the master account includes a main parameter, the third-party platform is connected to an operation platform, and the operation platform stores one or more third-party accounts on the third-party platform, and the third-party account includes a third party. a parameter, the operation platform includes one or more clients and a control center that manages the one or more clients, the client stores a sub-account of the operating platform, and the sub-account includes sub-parameters;
所述方法包括:The method includes:
接收控制中心发送的原始业务对象的处理请求;Receiving a processing request of an original business object sent by the control center;
采用所述第三方账号将所述处理请求发送至所述第三方平台。 The processing request is sent to the third party platform by using the third party account.
在本发明实施例的一种优选实施例中,所述处理请求中包括参数变量,则所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整。In a preferred embodiment of the present invention, the processing request includes a parameter variable, and the third-party platform is configured to send the processing request to the main platform by using the primary account, and adopt The parameter variable adjusts a third-party parameter of the third-party account; the master platform is configured to adjust a primary parameter of the primary account by using the parameter variable.
在本发明实施例的一种优选实施例中,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。In a preferred embodiment of the embodiment of the present invention, the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
在本发明实施例的一种优选实施例中,所述采用所述第三方账号将所述处理请求发送至所述第三方平台的步骤包括:In a preferred embodiment of the present invention, the step of sending the processing request to the third-party platform by using the third-party account includes:
按照预设的接口参数采用所述第三方账号将所述处理请求发送至所述第三方平台。The processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
在本发明实施例的一种优选实施例中,所述接口参数包括以下的一种或多种:In a preferred embodiment of the embodiment of the present invention, the interface parameter includes one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
在本发明实施例的一种优选实施例中,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request further includes an original service object, where the main platform is further configured to generate a target service object by using the original service object.
在本发明实施例的一种优选实施例中,所述处理请求中包括第一子业务对象,所述第一子业务对象为接收原始业务对象,所述原始业务对象包括第一参数值,当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分的一个或多个第一子业务对象;所述采用所述第三方账号将所述处理请求发送至所述第三方平台的步骤包括包括:In a preferred embodiment of the present invention, the processing request includes a first sub-service object, the first sub-service object is a receiving original service object, and the original service object includes a first parameter value, when And verifying, when the original business object is legal, dividing the original business object into one or more first sub-service objects according to the parameter value; and sending, by using the third-party account, the processing request to the first The steps of the three-party platform include:
将所述第一子业务对象划分为一个或多个第二子业务对象;Dividing the first sub-service object into one or more second sub-service objects;
将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。And sending the one or more second sub-service objects to a third-party platform; the third-party platform is configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object.
在本发明实施例的一种优选实施例中,所述方法还包括:In a preferred embodiment of the embodiment of the present invention, the method further includes:
接收处理失败和未进行处理的第二子业务对象; Receiving a second sub-service object that failed to process and was not processed;
将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。Transmitting the processed and unprocessed second sub-service object to a third-party platform; the third-party platform is configured to adopt the primary account, the primary parameter, and the processing failure and the second unprocessed The child business object generates the target business object.
在本发明实施例的一种优选实施例中,所述第三方平台包括出票商,所述客户端包括出票员。In a preferred embodiment of the embodiments of the present invention, the third party platform includes a ticket voucher, and the client includes a ticket clerk.
根据本发明的另一方面,提供了主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;According to another aspect of the present invention, a primary platform is provided that is connected to one or more third-party platforms, the third-party platform retains a primary account of the primary platform, and the primary account includes a primary parameter, the first The third party platform is connected to the operation platform, and the operation platform stores one or more third party accounts on the third party platform, the third party account includes third party parameters, and the operation platform includes one or more clients. And managing a control center of the one or more clients, the client retaining a sub-account of the operating platform, the sub-account including sub-parameters;
所述方法包括:The method includes:
接收所述一个或多个客户端发送的原始业务对象的处理请求;Receiving a processing request of the original business object sent by the one or more clients;
采用所述主账号将所述处理请求发送至所述主平台。The processing request is sent to the main platform by using the primary account.
在本发明实施例的一种优选实施例中,所述处理请求中包括参数变量;则所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;所述方法还包括:In a preferred embodiment of the present invention, the processing request includes a parameter variable; the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable; :
采用所述参数变量对所述第三方账号的第三方参数进行调整。The third-party parameters of the third-party account are adjusted by using the parameter variable.
在本发明实施例的一种优选实施例中,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。In a preferred embodiment of the embodiment of the present invention, the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
在本发明实施例的一种优选实施例中,所述接收所述一个或多个客户端发送的原始业务对象的处理请求的步骤包括:In a preferred embodiment of the present invention, the step of receiving a processing request of the original service object sent by the one or more clients includes:
按照预设的接口参数接收所述一个或多个客户端发送的原始业务对象的处理请求。Receiving a processing request of the original business object sent by the one or more clients according to a preset interface parameter.
在本发明实施例的一种优选实施例中,所述接口参数包括以下的一种或多种: In a preferred embodiment of the embodiment of the present invention, the interface parameter includes one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
在本发明实施例的一种优选实施例中,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request further includes an original service object, where the main platform is further configured to generate a target service object by using the original service object.
在本发明实施例的一种优选实施例中,所述第三方平台包括出票商,所述客户端包括出票员。In a preferred embodiment of the embodiments of the present invention, the third party platform includes a ticket voucher, and the client includes a ticket clerk.
以下结合附图对本实施例加以具体说明:The embodiment will be specifically described below with reference to the accompanying drawings:
参照图3,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例1的步骤流程图;Referring to FIG. 3, a flow chart of the steps of Embodiment 1 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention is shown;
主平台可以与一个或多个第三方平台相连,所述第三方平台可以保存有其在所述主平台的主账号,所述主账号可以包括主参数,所述第三方平台可以与运营平台相连,所述运营平台可以保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号可以包括第三方参数,所述运营平台可以包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端可以保存有其在所述运营平台的子账号,所述子账号可以包括子参数;The main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform. The operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. a control center of one or more clients, the client may maintain a sub-account of the operating platform, and the sub-account may include sub-parameters;
所述方法可以包括如下步骤:The method can include the following steps:
步骤S310,接收原始业务对象的处理请求;所述处理请求中可以包括参数变量;Step S310, receiving a processing request of an original service object; the processing request may include a parameter variable;
控制中心接收的处理请求可以为用户发出的生成目标业务对象的指示,该处理请求中可以包括参数变量,用以对生成目标业务对象所需的权限数据进行调整。The processing request received by the control center may be an indication sent by the user to generate a target business object, where the processing request may include a parameter variable for adjusting the permission data required to generate the target business object.
为使本领域技术人员更好地理解本发明实施例,在本说明书中,将彩票数据***作为权限***的一种示例进行说明。In order to enable those skilled in the art to better understand the embodiments of the present invention, in the present specification, the lottery data system will be described as an example of the authority system.
在彩票数据***中,所述业务对象可以包括彩票数据,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In the lottery data system, the business object may include lottery data, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
具体地,原始业务对象可以包括原始彩票数据和参数变量,例如可 以包括投注的彩种、期号、号码、倍率等等,参数变量可以为投注金额。Specifically, the original business object may include original lottery data and parameter variables, for example, The parameter variable can be the bet amount, including the color type of the bet, the issue number, the number, the magnification, and the like.
需要说明的是,参数变量在不同业务对象的处理中可以是不同的,但是在同一业务对象的处理过程中可以是相同的。It should be noted that the parameter variables may be different in the processing of different business objects, but may be the same in the processing of the same business object.
步骤S320,将所述处理请求发送至所述一个或多个客户端;Step S320, sending the processing request to the one or more clients;
在本发明实施例中,当原始业务对象满足预设条件时,可以将原始业务对象拆分为一个或多个第一子业务对象。In the embodiment of the present invention, when the original business object satisfies the preset condition, the original business object may be split into one or more first sub-service objects.
在具体实现中,预设条件可以包括原始业务对象的原始倍率信息超过第一预设阈值,和/或,原始数量信息超过第二预设阈值。In a specific implementation, the preset condition may include that the original magnification information of the original service object exceeds a first preset threshold, and/or the original quantity information exceeds a second preset threshold.
例如,在彩票数据***中,原始彩票数据的原始倍率信息超过99倍,和/或,原始数量信息超过50注,则可以将原始彩票数据进行拆分。For example, in the lottery data system, the original lottery data has an original magnification information exceeding 99 times, and/or, if the original quantity information exceeds 50 notes, the original lottery data can be split.
拆分的一个或多个第一子业务对象都可以包括子倍率信息和/或子数量信息,且所有第一子业务对象的字倍率信息的乘积等于原始倍率信息,和/或,子数量信息之和等于原始数量信息。The split one or more first sub-service objects may include sub-magnification information and/or sub-quantity information, and the product of the word magnification information of all the first sub-service objects is equal to the original magnification information, and/or the sub-quantity information The sum is equal to the original quantity information.
则在本发明实施例中,发送至客户端的处理请求中可以包括原始业务对象,或者,可以包括一个或多个第一子业务对象。In the embodiment of the present invention, the processing request sent to the client may include an original service object, or may include one or more first sub-service objects.
在本发明的一种优选实施例中,所述步骤S320具体可以包括如下子步骤:In a preferred embodiment of the present invention, the step S320 may specifically include the following sub-steps:
子步骤S3201,依据预示的配置概率确定用于处理所述处理请求的当前第三方平台及其对应的一个或多个客户端;Sub-step S3201, determining a current third-party platform for processing the processing request and one or more corresponding clients according to the predicted configuration probability;
子步骤S3202,将所述处理请求发送至所述一个或多个客户端。Sub-step S3202, the processing request is sent to the one or more clients.
在具体实现中,运营平台可以为每个第三方平台设置一个配置概率,即按照该概率选择用于处理业务对象的第三方平台,使得各第三方平台实际处理的业务对象的数据量与配置概率的比例大致相同,实现了选择性分配。In a specific implementation, the operating platform may set a configuration probability for each third-party platform, that is, select a third-party platform for processing the business object according to the probability, so that the data volume and configuration probability of the business object actually processed by each third-party platform The ratios are roughly the same, enabling selective distribution.
当配置概率为一样时,可以将处理业务对象的运算量进行均分。配置概率也可以按照第三方平台的处理能力进行分配,例如,数据处理能力强的第三方平台的配置概率可以稍大,反之则稍小,又例如,指定的业务对象(例如指定彩种、指定期号的彩票数据等等)可以指定第三方平 台进行处理,即该第三方平台的配置概率为1。When the configuration probability is the same, the amount of operations for processing the business object can be equally divided. The configuration probability can also be allocated according to the processing capability of the third-party platform. For example, the configuration probability of a third-party platform with strong data processing capability can be slightly larger, and vice versa, for example, a specified business object (for example, a specified color type, designation) Lottery data for the period, etc.) can specify a third party The station processes, that is, the configuration probability of the third-party platform is 1.
需要说明的是,配置概率是针对同一类型的业务对象而言的,同一第三方平台可以设置有不同类型的业务对象的配置概率。例如,在彩票数据***中,同一出票商可以分别有单式类型、复式类型的配置概率。It should be noted that the configuration probability is for the same type of business object, and the same third-party platform can set the configuration probability of different types of business objects. For example, in the lottery data system, the same ticket issuer can have a configuration probability of a single type or a multiple type.
一般一个第三方平台只需分配一个客户端,但是在某些情况下,例如为了提高业务对象的处理速度(例如出票速度),可以为一个第三方账号创建多个客户端,但为每个客户端配置接口参数时注意必须使用统一的第三方账号参数(例如用户名和密码),否则可能会影响跟第三方平台的数据核算。Generally, a third-party platform only needs to allocate one client, but in some cases, for example, to improve the processing speed of business objects (such as ticketing speed), multiple clients can be created for a third-party account, but for each When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
本发明基于配置概率可以对应调整第三方平台的业务对象的运算量,实现了全网第三方平台的负载均衡,减少了网络堵塞,优化了访问流量,提高了整体的服务质量,为用户提供更好的体验。The invention can adjust the calculation amount of the business object of the third-party platform based on the configuration probability, realize the load balancing of the third-party platform of the whole network, reduce the network congestion, optimize the access traffic, improve the overall service quality, and provide the user with more Good experience.
在本发明的一种优选实施例中,在将所述处理请求发送至所述一个或多个客户端之后:In a preferred embodiment of the invention, after the processing request is sent to the one or more clients:
所述一个或多个客户端可以用于采用所述第三方账号将所述处理请求发送至所述第三方平台;所述第三方平台可以用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台可以用于采用所述参数变量对所述主账号的主参数进行调整;The one or more clients may be configured to send the processing request to the third-party platform by using the third-party account; the third-party platform may be configured to send the processing request to the primary account by using the third-party account The main platform, and the third-party parameter of the third-party account is adjusted by using the parameter variable; the main platform may be configured to adjust a primary parameter of the primary account by using the parameter variable;
在具体实现中,在业务对象的处理过程中,第三方平台可以基于参数变量对第三方账号的第三方参数进行调整,主平台可以基于参数变量对主账号的主参数进行调整,使得第三方账号的第三方参数与主账号的主参数调整一致。In a specific implementation, in the processing of the business object, the third-party platform may adjust the third-party parameters of the third-party account based on the parameter variable, and the main platform may adjust the main parameter of the primary account based on the parameter variable, so that the third-party account is The third-party parameters are consistent with the main parameters of the primary account.
在本发明的一种优选实施例中,所述处理请求中还可以包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request may further include an original service object, where the main platform is further configured to generate the target business object by using the original business object.
在主平台生成目标业务对象后,可以通过第三方平台和运用平台将目标业务对象返回给用户,完成业务对象的处理过程。After the target platform generates the target business object, the target business object can be returned to the user through the third-party platform and the application platform, and the processing process of the business object is completed.
例如,在彩票数据***中,彩票中心按照用户的原始彩票数据和参 数变量,例如可以包括投注的彩种、期号、号码、倍率、投注金额等等,按照彩票数据的格式,例如彩票票号(唯一标识一张彩票的一串序列号。一般为一组数字(体彩)或者数字字母组合(福彩),彩票票号是彩票兑奖时需要的重要数据)、流水号等等生成彩票数据,最后通过出票商和运用平台返回给用户。For example, in the lottery data system, the lottery center follows the user's original lottery data and parameters. The number of variables, for example, may include the color type of the bet, the issue number, the number, the magnification, the bet amount, etc., in the format of the lottery data, such as the lottery ticket number (a serial number that uniquely identifies a lottery ticket. Generally a set of numbers) (Bulk color) or digital letter combination (Fucai), the lottery ticket number is the important data required for the lottery redemption), the serial number, etc. to generate lottery data, and finally returned to the user through the ticket seller and the application platform.
当然,若控制中心将原始业务对象拆分为一个或多个第一子业务对象,所述请求中还可以包括第一子业务对象。主平台还可以用于采用所述第一子业务对象生成目标业务对象。Of course, if the control center splits the original business object into one or more first sub-service objects, the request may further include a first sub-service object. The main platform may also be configured to generate a target business object by using the first sub-business object.
需要说明的是,原始业务对象、第一子业务对象、第二子业务对象和目标业务对象只是相对于处理业务对象的过程而言的,其实质都是业务对象。It should be noted that the original business object, the first sub-business object, the second sub-business object, and the target business object are only relative to the process of processing the business object, and the essence thereof is the business object.
步骤S330,采用所述参数变量对所述子账号的子参数进行调整。Step S330, adjusting the sub-parameters of the sub-account by using the parameter variable.
在具体实现中,控制中心可以采用子参数减去参数变量进行调整。In a specific implementation, the control center may adjust the sub-parameters minus the parameter variables.
则可以使得子账号的子参数、第三方账号的第三方参数与主账号的主参数调整保持一致。The sub-parameters of the sub-accounts, the third-party parameters of the third-party account, and the main parameter adjustment of the main account may be consistent.
在本发明的一种优选实施例中,针对同一个第三方平台的所有子参数之和可以等于对应的第三方账号的第三方参数。In a preferred embodiment of the invention, the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
例如,如图2所示,子账号A与子账号B的子参数之和等于第三方账号A的第三方参数。For example, as shown in FIG. 2, the sum of the sub-parameters of the sub-account A and the sub-account B is equal to the third-party parameter of the third-party account A.
本发明针对同一个第三方平台的所有子参数之和可以等于对应的第三方账号的第三方参数,使得数据统一,减少数据处理误差的出现,方便用户操作。The sum of all the sub-parameters of the same third-party platform can be equal to the third-party parameters of the corresponding third-party account, so that the data is unified, the occurrence of data processing errors is reduced, and the user is convenient to operate.
当然,针对同一个第三方平台的所有子参数之和可以小于对应的第三方账号的第三方参数。Of course, the sum of all sub-parameters for the same third-party platform may be smaller than the third-party parameters of the corresponding third-party account.
在具体实现中,运营平台可以预留出部分权限数据的额度(第三方参数)以备应急之用。例如在某个子账号的子参数的参数值过低,出现无法处理业务对象时,运营平台可以使用预留的额度直接调高其子参数的参数值,使得在与第三方平台调整第三方参数的过程中,客户端依然 可以正常处理业务对象。In a specific implementation, the operating platform may reserve a quota of partial authority data (third-party parameters) for emergency use. For example, when the parameter value of a child parameter of a sub-account is too low, and the business object cannot be processed, the operating platform can directly increase the parameter value of the sub-parameter using the reserved quota, so that the third-party parameter is adjusted in comparison with the third-party platform. In the process, the client is still Business objects can be processed normally.
此外,如果第三方平台(出票商)通过线下(例如银行转帐等)等其他途径处理业务对象时,控制中心应对该客户端(出票员)的子参数进行相应的操作(加款/扣款),以保持第三方参数与子参数一致。In addition, if the third party platform (the ticket seller) processes the business object through other means such as offline (such as bank transfer, etc.), the control center shall perform corresponding operations on the sub-parameters of the client (seller) (addition / Deduction) to keep third-party parameters consistent with sub-parameters.
本发明在接收业务对象的处理请求,处理请求中包括参数变量,在控制中心采用参数变量对子账号的子参数进行调整,在第三方平台采用参数变量对第三方账号的第三方参数进行调整,在主平台采用参数变量对主账号的主参数进行调整,使得子账号、第三方账号和主账号的调整保持一致,解决了出现数据不一致时无法查找错误的问题,提高了采集数据的准确率、覆盖率,提高了管理效率,保障了数据的安全和稳定。The invention receives the processing request of the service object, and the processing request includes a parameter variable, and the parameter variable is used to adjust the sub-parameter of the sub-account in the control center, and the third-party parameter of the third-party account is adjusted by using the parameter variable in the third-party platform, In the main platform, the parameter parameters are used to adjust the main parameters of the main account, so that the adjustment of the sub-account, the third-party account and the main account are consistent, and the problem that the data cannot be found is inaccurate when the data is inconsistent, and the accuracy of the collected data is improved. Coverage, improve management efficiency, and ensure data security and stability.
本发明增加了客户端的子账号,对权限***改造小、侵入少且接入简单,减小了开发成本,并有利于搭建统一控制中心,扩展性好。The invention increases the sub-account of the client, has small transformation of the authority system, less intrusion and simple access, reduces development cost, and is conducive to constructing a unified control center with good expansibility.
本发明基于子参数、第三方参数和主参数实现了各级权限数据细颗粒度的管理,提高了整体的可控性,减少了各级用户非自律地发起服务请求,减少了各级设备的资源耗费,提高了整体的服务质量。The invention realizes the management of fine granularity of the authority data of each level based on the sub-parameters, the third-party parameters and the main parameters, improves the overall controllability, reduces the non-self-regular initiation of service requests by users at all levels, and reduces the equipment of all levels. Resource consumption has improved the overall quality of service.
在本发明的一种优选实施例中,所述方法还可以包括如下步骤:In a preferred embodiment of the present invention, the method may further include the following steps:
步骤S340,当所述子账号的子参数小于预设阈值时,生成警报信息。Step S340, when the sub-parameter of the sub-account is less than a preset threshold, generating alarm information.
例如,在彩票数据***中,预设阈值可以为预警金额,当子参数小于预设阈值时,表示出票员的预存款分配额度小于预警金额,可能出现预存款分配额度不足而导致彩票数据出票失败。生成的警报信息可以在当前界面显示,也可以发送至指定的通讯工具,例如手机、邮箱等等,以提醒及时补充预存款(即第三方参数)。For example, in the lottery data system, the preset threshold may be an early warning amount. When the sub-parameter is less than the preset threshold, the pre-deposit allocation amount of the ticket clerk is less than the warning amount, and the pre-deposit allocation amount may be insufficient to cause the lottery data to be out. The ticket failed. The generated alarm information can be displayed on the current interface, or sent to a specified communication tool, such as a mobile phone, a mailbox, etc., to remind the timely replenishment of the pre-deposit (ie, third-party parameters).
参照图4,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例2的步骤流程图;Referring to FIG. 4, a flow chart of steps of Embodiment 2 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention is shown;
主平台可以与一个或多个第三方平台相连,所述第三方平台可以保存有其在所述主平台的主账号,所述主账号可以包括主参数,所述第三方平台可以与运营平台相连,所述运营平台可以保存有其在所述第三方 平台的一个或多个第三方账号,所述第三方账号可以包括第三方参数,所述运营平台可以包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端可以保存有其在所述运营平台的子账号,所述子账号可以包括子参数;The main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform. The operating platform may hold its third party One or more third party accounts of the platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a control center that manages the one or more clients, the client A sub-account on the operating platform may be saved, and the sub-account may include sub-parameters;
所述方法可以包括如下步骤:The method can include the following steps:
步骤S410,接收控制中心发送的处理请求;所述处理请求中包括参数变量;Step S410, receiving a processing request sent by the control center; the processing request includes a parameter variable;
需要说明的是,若控制中心拆分了原始业务对象,则所述处理请求中可以包括一个或多个第一子业务对象。It should be noted that, if the control center splits the original business object, the processing request may include one or more first sub-service objects.
为使本领域技术人员更好地理解本发明实施例,在本说明书中,将彩票数据***作为权限***的一种示例进行说明。In order to enable those skilled in the art to better understand the embodiments of the present invention, in the present specification, the lottery data system will be described as an example of the authority system.
在彩票数据***中,所述业务对象可以包括彩票数据,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In the lottery data system, the business object may include lottery data, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
步骤S420,采用所述第三方账号将所述处理请求发送至所述第三方平台;Step S420: Send the processing request to the third-party platform by using the third-party account.
在本发明实施例中,客户端可以将原始业务对象或者第一子业务对象按照第三方平台的接口参数拆分为一个或多个第二子业务对象。In the embodiment of the present invention, the client may split the original business object or the first sub-service object into one or more second sub-service objects according to the interface parameters of the third-party platform.
以彩票数据***为例,第二子业务对象可以为:Taking the lottery data system as an example, the second sub-service object can be:
Figure PCTCN2014095953-appb-000001
Figure PCTCN2014095953-appb-000001
Figure PCTCN2014095953-appb-000002
Figure PCTCN2014095953-appb-000002
彩票投注的基本单位是票,它对应了投注请求消息体(处理请求)中的一个ticket元素,每一票可以包含同样投注方式的投注号码,并且对投注号码的数量有限制。The basic unit of lottery betting is a ticket, which corresponds to a ticket element in the bet request message body (processing request), each ticket can contain a bet number of the same bet method, and there is a limit on the number of bet numbers.
在投注的请求消息体中,lotteryRequest是一个容器元素,它可以由多个ticket子元素(第二子业务对象),表示第三方平台可以处理客户端的批量的投注请求。In the request message body of the bet, the lotteryRequest is a container element, which can be represented by a plurality of ticket sub-elements (second sub-service objects), indicating that the third-party platform can process the batch bet request of the client.
在本发明的一种优选实施例中,步骤S420可以包括如下子步骤:In a preferred embodiment of the invention, step S420 may comprise the following sub-steps:
子步骤S421,按照预设的接口参数采用所述第三方账号将所述处理请求发送至所述第三方平台。Sub-step S421, the processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
在具体实现中,所述接口参数可以包括以下的一种或多种:In a specific implementation, the interface parameter may include one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
其中,第三方参数查询参数可以用于客户端在每天第一次处理业务对象时自动通过接口查询第三方账号在第三方平台的第三方参数并保存。The third-party parameter query parameter can be used by the client to automatically query the third-party parameters of the third-party account on the third-party platform through the interface when the business object is processed for the first time every day.
第三方账号名称可以用于选择对应的出票接口账户(接入账户)名称。The third-party account name can be used to select the corresponding ticketing interface account (access account) name.
接口地址可以为第三方平台的接口的接入地址,可以是域名,也可以是IP地址。 The interface address can be the access address of the interface of the third-party platform, which can be a domain name or an IP address.
第三方账号编号可以为由第三方平台统一分配的第三方账号的编号、用户名或者终端机号。The third-party account number may be the number, user name, or terminal number of the third-party account uniformly allocated by the third-party platform.
用户标识可以为请求业务对象处理的用户标识(例如账户名称)。The user ID can be a user ID (eg, an account name) that is processed by the requesting business object.
密钥可以用于对通讯数据进行签名的密钥或者加密密钥。The key can be used for a key or encryption key that signs the communication data.
在本发明的一种优选实施例中,在采用所述第三方账号将所述处理请求发送至所述第三方平台之后:In a preferred embodiment of the invention, after the processing request is sent to the third party platform using the third party account:
所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整。The third-party platform is configured to send the processing request to the main platform by using the primary account, and adjust the third-party parameters of the third-party account by using the parameter variable; The main parameter of the primary account is adjusted by using the parameter variable.
在本发明的一种优选实施例中,针对同一个第三方平台的所有子参数之和可以等于对应的第三方账号的第三方参数。In a preferred embodiment of the invention, the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
在本发明的一种优选实施例中,所述处理请求中还可以包括原始业务对象,所述主平台还可以用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request may further include an original service object, and the main platform may be further configured to generate the target business object by using the original business object.
需要说明的是,若客户端将原始业务对象或者第一子业务对象拆分为一个或多个第二子业务对象,所述请求中还可以包括第二子业务对象。主平台还可以用于采用所述第二子业务对象生成目标业务对象。It should be noted that, if the client splits the original business object or the first sub-business object into one or more second sub-service objects, the request may further include a second sub-service object. The main platform may also be configured to generate a target business object by using the second sub-business object.
在本发明实施例中,由于方法实施例2与方法实施例1的是相对应的,所以描述的比较简单,相关之处参见方法实施例1的部分说明即可,本发明实施例在此不加以详述。In the embodiment of the present invention, since the method embodiment 2 corresponds to the method embodiment 1, the description is relatively simple. For the related parts, refer to the description of the method embodiment 1. The embodiment of the present invention does not To be detailed.
参照图5,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例3的步骤流程图;5 is a flow chart showing the steps of Embodiment 3 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention;
主平台可以与一个或多个第三方平台相连,所述第三方平台可以保存有其在所述主平台的主账号,所述主账号可以包括主参数,所述第三方平台可以与运营平台相连,所述运营平台可以保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号可以包括第三方参数,所述运营平台可以包括一个或多个客户端及管理所述一个或多个客户端 的控制中心,所述客户端可以保存有其在所述运营平台的子账号,所述子账号可以包括子参数;The main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform. The operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. One or more clients Control center, the client may save its sub-account on the operating platform, and the sub-account may include sub-parameters;
所述方法可以包括如下步骤:The method can include the following steps:
步骤S510,接收所述一个或多个客户端发送的原始业务对象的处理请求;所述处理请求中包括参数变量;Step S510, receiving a processing request of the original service object sent by the one or more clients; the processing request includes a parameter variable;
需要说明的是,若控制中心拆分了原始业务对象,则所述处理请求中可以包括一个或多个第一子业务对象。若客户端拆分了原始业务对象或者第一子业务对象,则所述处理请求中可以包括一个或多个第二子业务对象。It should be noted that, if the control center splits the original business object, the processing request may include one or more first sub-service objects. If the client splits the original business object or the first sub-service object, the processing request may include one or more second sub-service objects.
为使本领域技术人员更好地理解本发明实施例,在本说明书中,将彩票数据***作为权限***的一种示例进行说明。In order to enable those skilled in the art to better understand the embodiments of the present invention, in the present specification, the lottery data system will be described as an example of the authority system.
在彩票数据***中,所述业务对象可以包括彩票数据,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In the lottery data system, the business object may include lottery data, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
在本发明的一种优选实施例中,所述步骤S510可以包括如下子步骤:In a preferred embodiment of the present invention, the step S510 may include the following sub-steps:
子步骤S511,按照预设的接口参数接收所述一个或多个客户端发送的原始业务对象的处理请求。Sub-step S511, receiving, according to a preset interface parameter, a processing request of the original service object sent by the one or more clients.
在具体实现中,所述接口参数可以包括以下的一种或多种:In a specific implementation, the interface parameter may include one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
步骤S520,采用所述主账号将所述处理请求发送至所述主平台;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;Step S520, the processing request is sent to the main platform by using the primary account; the primary platform is configured to adjust a primary parameter of the primary account by using the parameter variable;
需要说明的是,第三方平台也可以按照主平台的接口参数对处理请求中的原始业务对象,或者,第一子业务对象,或者,第二业务自对象进行对应的调整获得第三子业务对象后才发送至主平台。而主平台可以采用主参数减去参数变量进行调整。It should be noted that the third-party platform may also adjust the original business object in the processing request, or the first sub-service object, or the second service self-object according to the interface parameter of the main platform to obtain the third sub-service object. Then send it to the main platform. The main platform can be adjusted by using the main parameter minus the parameter variable.
在本发明的一种优选实施例中,针对同一个第三方平台的所有子参数之和可以等于对应的第三方账号的第三方参数。In a preferred embodiment of the invention, the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
在本发明的一种优选实施例中,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。 In a preferred embodiment of the present invention, the processing request further includes an original service object, and the main platform is further configured to generate the target business object by using the original business object.
需要说明的是,若第三方平台将原始业务对象或者第一子业务对象或者第二子业务对象进行调整获得第三子业务对象,则所述请求中还可以包括第三子业务对象。主平台还可以用于采用所述第三子业务对象生成目标业务对象。It should be noted that, if the third-party platform adjusts the original business object or the first sub-service object or the second sub-service object to obtain the third sub-service object, the request may further include the third sub-service object. The main platform may also be configured to generate the target business object by using the third sub-service object.
步骤S530,采用所述参数变量对所述第三方账号的第三方参数进行调整;Step S530, using the parameter variable to adjust third-party parameters of the third-party account;
在具体实现中,第三方平台可以采用第三方参数减去参数变量进行调整。In a specific implementation, the third-party platform may adjust the third-party parameters minus the parameter variables.
在本发明实施例中,由于方法实施例3与方法实施例1的是相对应的,所以描述的比较简单,相关之处参见方法实施例1的部分说明即可,本发明实施例在此不加以详述。In the embodiment of the present invention, since the method embodiment 3 corresponds to the method embodiment 1, the description is relatively simple. For the related parts, refer to the description of the method embodiment 1. The embodiment of the present invention does not To be detailed.
参照图6,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例4的步骤流程图;Referring to FIG. 6, a flow chart of steps in Embodiment 4 of a method for processing a service object based on a third-party platform according to an embodiment of the present invention is shown;
主平台可以与一个或多个第三方平台相连,所述第三方平台可以保存有其在所述主平台的主账号以及针对业务对象的第一截止时间和配置概率,至少一个第三方平台可以具有针对该业务对象的第二截止时间,所述主账号可以包括主参数,所述第三方平台可以与运营平台相连,所述运营平台可以包括一个或多个客户端及管理所述一个或多个客户端的控制中心;The primary platform may be connected to one or more third-party platforms, the third-party platform may maintain its primary account number on the primary platform and a first deadline and configuration probability for the business object, and at least one third-party platform may have For the second deadline of the business object, the primary account may include a primary parameter, and the third-party platform may be connected to an operating platform, and the operating platform may include one or more clients and manage the one or more Client's control center;
所述的方法可以包括如下步骤:The method can include the following steps:
步骤S610,当到达所述第二截止时间时,将所述第二截止时间对应的第三方平台的配置概率设置为低于预设阈值的比例;所述第二截止时间小于或等于所述第一截止时间;Step S610, when the second deadline is reached, setting a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold; the second deadline is less than or equal to the first a deadline
需要说明的是,由于业务对象的性质不同,针对不同型号信息和不同版本信息的业务对象,主平台处理业务对象的时间限制亦不同,使得各第三方平台的第一截止时间也各不相同。It should be noted that, due to the different nature of the business objects, the time limit for processing the business objects by the main platform is different for the business objects of different types of information and different version information, so that the first deadlines of the third-party platforms are also different.
为使本领域技术人员更好地理解本发明实施例,在本说明书中,将彩票 数据***作为权限***的一种示例进行说明。In order to enable those skilled in the art to better understand the embodiments of the present invention, in this specification, the lottery will be The data system is described as an example of a rights system.
在彩票数据***中,所述业务对象可以包括彩票数据,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In the lottery data system, the business object may include lottery data, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
针对彩票数据而言,型号信息可以为彩种信息(例如双色球、排列3等等),版本信息可以为期号信息,彩票中心对不同彩种信息、不同期号信息的彩票数据都会有投注的时间期限,对应地出票商为了保证彩票数据的出票成功,一般设置有提前的第一截止时间,超过截止时间便不接受彩票数据的投注。For the lottery data, the model information can be color information (such as two-color ball, arrangement 3, etc.), the version information can be the date information, and the lottery center will have betting time for different lottery information and lottery data of different issue information. The deadline, corresponding to the ticket issuer in order to ensure the successful issuance of lottery data, generally set the first deadline for advance, beyond the deadline to not accept lottery data betting.
在本发明实施例中,可以设置一个小于或等于第一截止时间的第二截止时间,当到达第二截止时间时,将对应的第三方平台的配置概率设置为低于预设阈值的比例。可选地,该比例为0。In the embodiment of the present invention, a second cutoff time less than or equal to the first cutoff time may be set. When the second cutoff time is reached, the configuration probability of the corresponding third party platform is set to be lower than the preset threshold. Optionally, the ratio is zero.
例如在彩票数据***中,如图7所示,出票商的第一截止时间减去“提前截止至”所示的时间,便是第二截止时间,“单式分票概率”和“复式分票概率”可以为配置概率,则达到第二截止时间时,可以按照预设的比例进行配置概率的调整。For example, in the lottery data system, as shown in FIG. 7, the first deadline of the ticket seller minus the time indicated by "early due to" is the second deadline, "single ticket probability" and "multiple" The probability of the ticket can be a configuration probability. When the second deadline is reached, the configuration probability can be adjusted according to a preset ratio.
在具体实现中,运营平台可以为每个第三方平台设置一个配置概率,即按照该概率选择用于处理业务对象的第三方平台,使得各第三方平台实际处理的业务对象的数据量与配置概率的比例大致相同,实现了选择性分配。In a specific implementation, the operating platform may set a configuration probability for each third-party platform, that is, select a third-party platform for processing the business object according to the probability, so that the data volume and configuration probability of the business object actually processed by each third-party platform The ratios are roughly the same, enabling selective distribution.
在本发明实施例的一种优选示例中,所有所述第三方平台的配置概率之和为0或1。In a preferred example of the embodiment of the present invention, the sum of the configuration probabilities of all the third-party platforms is 0 or 1.
当配置概率之和为0时,则表示运营平台或者第三放平台或者主平台不接受业务对象的处理。当配置概率之和为1时,则表示运营平台、者第三放平台和主平台接受业务对象的处理,并保证业务对象被分配到第三方平台进行处理。When the sum of the configuration probabilities is 0, it indicates that the operation platform or the third platform or the main platform does not accept the processing of the business object. When the sum of the configuration probabilities is 1, it indicates that the operation platform, the third release platform, and the main platform accept the processing of the business object, and ensure that the business object is allocated to the third-party platform for processing.
当配置概率为一样时,可以将处理业务对象的预算量进行均分。配置概率也可以按照第三方平台的处理能力进行分配,例如,数据处理能力强的第三方平台的配置概率可以稍大,反之则稍小,又例如,指定的业 务对象(例如指定彩种、指定期号的彩票数据等等)可以指定第三方平台进行处理,即该第三方平台的配置概率为1。When the configuration probability is the same, the budget amount of the processing business object can be equally divided. The configuration probability can also be allocated according to the processing capability of the third-party platform. For example, the configuration probability of the third-party platform with strong data processing capability can be slightly larger, and vice versa, for example, the designated industry. The object (such as the specified color, the lottery data of the specified issue number, etc.) can be specified by the third-party platform, that is, the configuration probability of the third-party platform is 1.
需要说明的是,配置概率是针对同一类型的业务对象而言的,同一第三方平台可以设置有不同类型的业务对象的配置概率。例如,在彩票数据***中,同一出票商可以分别有单式类型、复式类型的配置概率。It should be noted that the configuration probability is for the same type of business object, and the same third-party platform can set the configuration probability of different types of business objects. For example, in the lottery data system, the same ticket issuer can have a configuration probability of a single type or a multiple type.
一般一个第三方平台只需分配一个客户端,但是在某些情况下,例如为了提高业务对象的处理速度(例如出票速度),可以为一个第三方账号创建多个客户端,但为每个客户端配置接口参数时注意必须使用统一的第三方账号参数(例如用户名和密码),否则可能会影响跟第三方平台的数据核算。Generally, a third-party platform only needs to allocate one client, but in some cases, for example, to improve the processing speed of business objects (such as ticketing speed), multiple clients can be created for a third-party account, but for each When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
本发明基于配置概率可以对应调整第三方平台的业务对象的预算量,实现了全网第三方平台的负载均衡,减少了网络堵塞,优化了访问流量,提高了整体的服务质量,为用户提供更好的体验。The invention can adjust the budget of the business object of the third-party platform based on the configuration probability, realizes the load balancing of the third-party platform of the whole network, reduces the network congestion, optimizes the access traffic, improves the overall service quality, and provides the user with more Good experience.
步骤S620,将其他第三方平台的配置概率进行对应的调整;Step S620, performing corresponding adjustments on configuration probabilities of other third-party platforms;
当其中一个第三方平台的配置概率降低时,其他第三方平台的配置概率可以进行对应地调高。When the configuration probability of one of the third-party platforms is reduced, the configuration probabilities of other third-party platforms can be correspondingly increased.
步骤S630,接收原始业务对象的处理请求;Step S630, receiving a processing request of the original business object;
控制中心接收的处理请求可以为用户发出的生成目标业务对象的指示,该处理请求中可以包括参数变量,用以对生成目标业务对象所需的权限数据进行调整。The processing request received by the control center may be an indication sent by the user to generate a target business object, where the processing request may include a parameter variable for adjusting the permission data required to generate the target business object.
例如在彩票数据***中,原始业务对象可以包括原始彩票数据和参数变量,例如可以包括投注的彩种、期号、号码、倍率等等,参数变量可以为投注金额。For example, in a lottery data system, the original business object may include raw lottery data and parameter variables, such as color, bet, number, magnification, etc., which may include bet amount, and the parameter variable may be a bet amount.
需要说明的是,参数变量在不同业务对象的处理中可以是不同的,但是在同一业务对象的处理过程中可以是相同的。It should be noted that the parameter variables may be different in the processing of different business objects, but may be the same in the processing of the same business object.
在本发明实施例中,当原始业务对象满足预设条件时,可以将原始业务对象拆分为一个或多个第一子业务对象。In the embodiment of the present invention, when the original business object satisfies the preset condition, the original business object may be split into one or more first sub-service objects.
在具体实现中,预设条件可以包括原始业务对象的原始倍率信息超 过第一预设阈值,和/或,原始数量信息超过第二预设阈值。In a specific implementation, the preset condition may include the original magnification information of the original business object. The first preset threshold is exceeded, and/or the original quantity information exceeds the second preset threshold.
例如,在彩票数据***中,原始彩票数据的原始倍率信息超过99倍,和/或,原始数量信息超过50注,则可以将原始彩票数据进行拆分。For example, in the lottery data system, the original lottery data has an original magnification information exceeding 99 times, and/or, if the original quantity information exceeds 50 notes, the original lottery data can be split.
拆分的一个或多个原始业务对象都可以包括子倍率信息和/或子数量信息,且所有第一子业务对象的字倍率信息的乘积等于原始倍率信息,和/或,子数量信息之和等于原始数量信息。The split one or more original business objects may include sub-magnification information and/or sub-quantity information, and the product of the word magnification information of all the first sub-service objects is equal to the original magnification information, and/or the sum of the sub-quantity information. Equal to the original quantity information.
步骤S640,依据当前的配置概率确定用于处理所述请求的第三方平台及其对应的一个或多个客户端;Step S640, determining, according to the current configuration probability, a third-party platform for processing the request and one or more corresponding clients thereof;
一般一个第三方平台只需分配一个客户端,但是在某些情况下,例如为了提高业务对象的处理速度(例如出票速度),可以为一个第三方账号创建多个客户端,但为每个客户端配置接口参数时注意必须使用统一的第三方账号参数(例如用户名和密码),否则可能会影响跟第三方平台的数据核算。Generally, a third-party platform only needs to allocate one client, but in some cases, for example, to improve the processing speed of business objects (such as ticketing speed), multiple clients can be created for a third-party account, but for each When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
需要说明的是,配置概率是针对同一类型的业务对象而言的,同一第三方平台可以设置有不同类型的业务对象的配置概率。例如,在彩票数据***中,同一出票商可以分别有单式类型、复式类型的配置概率。It should be noted that the configuration probability is for the same type of business object, and the same third-party platform can set the configuration probability of different types of business objects. For example, in the lottery data system, the same ticket issuer can have a configuration probability of a single type or a multiple type.
步骤S650,将所述原始业务对象发送至所述一个或多个客户端;Step S650, sending the original service object to the one or more clients;
在本发明的一种优选实施例中,所述客户端可以具有处理业务对象对应的权限信息,所述步骤S650具体可以包括如下子步骤:In a preferred embodiment of the present invention, the client may have the permission information corresponding to the processing service object, and the step S650 may specifically include the following sub-steps:
子步骤S6501,依据当前的配置概率确定用于处理所述请求的第三方平台及其对应的,且具有权限信息的一个或多个客户端。Sub-step S6501, determining, according to the current configuration probability, a third-party platform for processing the request and one or more clients corresponding thereto and having rights information.
当客户端具有权限信息时,才可以处理对应的业务对象。When the client has permission information, the corresponding business object can be processed.
例如在彩票数据***中,如图8所示,在彩种对应的方框中打上勾,则表示此出票员拥有了处理此彩种的彩票数据的权限信息。For example, in the lottery data system, as shown in FIG. 8, the check box corresponding to the color type indicates that the ticket holder has the authority information for processing the lottery data of the color type.
在本发明的一种优选实施例中,所述业务对象可以包括型号信息和版本信息,所述步骤S650具体可以包括如下子步骤:In a preferred embodiment of the present invention, the service object may include model information and version information, and the step S650 may specifically include the following sub-steps:
子步骤S6502,确定用于处理指定请求的当前第三方平台及其对应的一个或多个客户端; Sub-step S6502, determining a current third-party platform for processing the specified request and its corresponding one or more clients;
其中,所述指定请求包括对指定型号信息和指定版本信息的原始业务对象的处理请求;所述第三方平台的配置概率为1。The specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform is 1.
由于某些类型的业务对象可能需要特定的配置的第三方平台或者客户端才能进行处理,即这些类型的业务对象需要指定的第三方平台或者客户端进行处理,因此,第三方平台的配置概率为1。Since some types of business objects may require a specific configured third-party platform or client to process, that is, these types of business objects need to be processed by a specified third-party platform or client, the configuration probability of the third-party platform is 1.
例如,在彩票数据***中,指定型号信息可以为彩种,指定版本信息可以为期号。For example, in the lottery data system, the specified model information may be a color type, and the specified version information may be a period number.
在本发明的一种优选实施例中,当控制中心将原始业务对象发送至所述一个或多个客户端之后,所述一个或多个客户端可以用于按照所述第三方平台预设的接口参数将所述原始业务对象生成第一子业务对象,将所述第一子业务对象发送至所述第三方平台;In a preferred embodiment of the present invention, after the control center sends the original business object to the one or more clients, the one or more clients may be used to preset according to the third party platform. The interface parameter generates the first sub-service object by the original service object, and sends the first sub-service object to the third-party platform;
在具体实现中,所述接口参数可以包括以下的一种或多种:In a specific implementation, the interface parameter may include one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
其中,第三方参数查询参数可以用于客户端在每天第一次处理业务对象时自动通过接口查询第三方账号在第三方平台的第三方参数并保存。The third-party parameter query parameter can be used by the client to automatically query the third-party parameters of the third-party account on the third-party platform through the interface when the business object is processed for the first time every day.
第三方账号名称可以用于选择对应的出票接口账户(接入账户)名称。The third-party account name can be used to select the corresponding ticketing interface account (access account) name.
接口地址可以为第三方平台的接口的接入地址,可以是域名,也可以是IP地址。The interface address can be the access address of the interface of the third-party platform, which can be a domain name or an IP address.
第三方账号编号可以为由第三方平台统一分配的第三方账号的编号、用户名或者终端机号。The third-party account number may be the number, user name, or terminal number of the third-party account uniformly allocated by the third-party platform.
用户标识可以为请求业务对象处理的用户标识(例如账户名称)。The user ID can be a user ID (eg, an account name) that is processed by the requesting business object.
密钥可以用于对通讯数据进行签名的密钥或者加密密钥。The key can be used for a key or encryption key that signs the communication data.
在本发明的一种优选实施例中,当客户端将第一子业务对象发送至所述第三方之后,所述第三方平台可以用于采用所述主账号、所述主参数和所述第一子业务对象生成目标业务对象。 In a preferred embodiment of the present invention, after the client sends the first sub-service object to the third party, the third-party platform may be configured to adopt the main account, the main parameter, and the first A child business object generates a target business object.
在具体实现中,第三方平台可以按照主平台的接口参数对第一子业务对象进行对应的调整后才发送至主平台。In a specific implementation, the third-party platform may perform corresponding adjustment on the first sub-service object according to the interface parameter of the main platform, and then send the information to the main platform.
主平台可以用于采用子业务对象生成目标业务对象,同时对第三方平台主账号的主参数进行调整,具体地,可以采用主参数减去参数变量进行调整。The main platform can be used to generate the target business object by using the sub-business object, and adjust the main parameters of the third-party platform main account. Specifically, the main parameter can be adjusted by subtracting the parameter variable.
本发明在到达所述第二截止时间时,将第二截止时间对应的第三方平台的配置概率设置为低于预设阈值的比例,然后按照调整后的比例进行业务对象的处理,解决了将业务对象发送给已到达第一截止时间的第三方平台处理而造成的业务对象处理失败的问题,进而避免了因处理失败而造成的额外资源耗费,提高了业务对象的处理成功率,提高了整体的管理效率、运行效率。When the second deadline is reached, the present invention sets the configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than the preset threshold, and then processes the business object according to the adjusted ratio, and solves the problem. The business object is sent to the third-party platform that has reached the first deadline to process the failure of the business object processing, thereby avoiding the extra resource consumption caused by the processing failure, improving the processing success rate of the business object, and improving the overall Management efficiency and operational efficiency.
本发明增加了客户端的子账号,对权限***改造小、侵入少且接入简单,减小了开发成本,并有利于搭建统一控制中心,扩展性好。The invention increases the sub-account of the client, has small transformation of the authority system, less intrusion and simple access, reduces development cost, and is conducive to constructing a unified control center with good expansibility.
本发明基于子参数、第三方参数和主参数实现了各级权限数据细颗粒度的管理,提高了整体的可控性,减少了各级用户非自律地发起服务请求,减少了各级设备的资源耗费,提高了整体的服务质量。The invention realizes the management of fine granularity of the authority data of each level based on the sub-parameters, the third-party parameters and the main parameters, improves the overall controllability, reduces the non-self-regular initiation of service requests by users at all levels, and reduces the equipment of all levels. Resource consumption has improved the overall quality of service.
参照图9,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例5的步骤流程图,所述第三方平台可以具有主账号和主参数,一个或多个客户端可以与所述第三方平台相连,所述方法可以包括如下步骤:9 is a flow chart showing the steps of a method for processing a third-party platform-based business object according to an embodiment of the present invention. The third-party platform may have a primary account and a primary parameter, one or more. The client can be connected to the third-party platform, and the method can include the following steps:
步骤S710,接收原始业务对象;所述原始业务对象可以包括第一参数值;Step S710, receiving an original service object; the original service object may include a first parameter value;
控制中心接收用户发出的生成目标业务对象的指示,该处理请求中可以包括参数变量和原始业务对象,参数变量可以用以对生成目标业务对象所需的权限数据进行调整。The control center receives an indication sent by the user to generate a target business object, where the processing request may include a parameter variable and an original business object, and the parameter variable may be used to adjust the permission data required to generate the target business object.
为使本领域技术人员更好地理解本发明实施例,在本说明书中,将彩票数据***作为权限***的一种示例进行说明。 In order to enable those skilled in the art to better understand the embodiments of the present invention, in the present specification, the lottery data system will be described as an example of the authority system.
在彩票数据***中,所述业务对象可以包括彩票数据,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In the lottery data system, the business object may include lottery data, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
具体地,原始业务对象可以为用户的彩票数据投注方案,具体可以包括原始彩票数据,例如可以包括投注的彩种、期号、号码、倍率等等,而参数变量可以为投注金额。Specifically, the original business object may be a lottery data betting scheme of the user, and may specifically include original lottery data, for example, a color type, a period number, a number, a magnification, and the like, which may include a bet, and the parameter variable may be a bet amount.
步骤S720,当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分为一个或多个第一子业务对象;Step S720, when it is verified that the original business object is legal, the original business object is divided into one or more first sub-service objects according to the parameter value;
在本发明的一种优选实施例中,所述第一参数值可以包括第一倍率信息和/或第一数量信息;In a preferred embodiment of the present invention, the first parameter value may include first rate information and/or first quantity information;
在本发明实施例中,当原始业务对象满足预设条件时,可以将原始业务对象拆分为多个第一子业务对象。否则,可以将原始业务对象划分为一个第一子业务对象。In the embodiment of the present invention, when the original business object satisfies the preset condition, the original business object may be split into a plurality of first sub-service objects. Otherwise, the original business object can be divided into a first sub-business object.
在具体实现中,预设条件可以包括原始业务对象的原始倍率信息超过第一预设阈值,和/或,第一数量信息超过第二预设阈值。In a specific implementation, the preset condition may include that the original magnification information of the original service object exceeds a first preset threshold, and/or the first quantity information exceeds a second preset threshold.
例如,在彩票数据***中,彩票数据投注方案的第一倍率信息超过99倍,和/或,第一数量信息超过50注,则可以将彩票数据投注方案进行拆分,获得第一子业务对象,可以称之为出票任务。For example, in the lottery data system, the first rate information of the lottery data bet scheme is more than 99 times, and/or, if the first quantity information exceeds 50 notes, the lottery data bet scheme may be split to obtain the first sub-service object. Can be called a ticketing task.
在原始业务对象拆分之后,所述第一子业务对象可以包括第二参数值;所述第二参数值可以包括第二倍率信息和/或第二数量信息;After the original business object is split, the first sub-service object may include a second parameter value; the second parameter value may include second magnification information and/or second quantity information;
所述第二倍率信息的乘积可以等于所述第一倍率信息;The product of the second magnification information may be equal to the first magnification information;
所述第二数量信息的和可以等于所述第一数量信息。The sum of the second quantity information may be equal to the first quantity information.
步骤S730,将所述一个或多个第一子业务对象发送至客户端;Step S730, sending the one or more first sub-service objects to the client;
在本发明的一种优选实施例中,所述步骤S730可以包括如下子步骤:In a preferred embodiment of the present invention, the step S730 may include the following sub-steps:
子步骤S7301,依据所述配置概率确定用于处理所述第一子业务对象的当前第三方平台及其对应的一个或多个客户端;Sub-step S7301, determining, according to the configuration probability, a current third-party platform for processing the first sub-service object and one or more corresponding clients thereof;
子步骤S7302,将所述第一子业务对象发送至所述一个或多个客户端。Sub-step S7302, the first sub-service object is sent to the one or more clients.
在具体实现中,运营平台可以为每个第三方平台设置一个配置概率, 即按照该概率选择用于处理业务对象的第三方平台,使得各第三方平台实际处理的业务对象的数据量与配置概率的比例大致相同,实现了选择性分配。In a specific implementation, the operating platform can set a configuration probability for each third-party platform. That is, the third-party platform for processing the business object is selected according to the probability, so that the data volume of the business object actually processed by each third-party platform is substantially the same as the ratio of the configuration probability, and the selective allocation is realized.
当配置概率为一样时,可以将处理业务对象的运算量进行均分。配置概率也可以按照第三方平台的处理能力进行分配,例如,数据处理能力强的第三方平台的配置概率可以稍大,反之则稍小,又例如,指定的业务对象(例如指定彩种、指定期号的彩票数据等等)可以指定第三方平台进行处理,即该第三方平台的配置概率为1。When the configuration probability is the same, the amount of operations for processing the business object can be equally divided. The configuration probability can also be allocated according to the processing capability of the third-party platform. For example, the configuration probability of a third-party platform with strong data processing capability can be slightly larger, and vice versa, for example, a specified business object (for example, a specified color type, designation) The lottery data of the period number, etc.) can be specified by a third-party platform, that is, the configuration probability of the third-party platform is 1.
在本发明实施例的一种优选示例中,所有第三方平台对应的配置概率之和为1。In a preferred example of the embodiment of the present invention, the sum of the configuration probabilities corresponding to all the third-party platforms is 1.
需要说明的是,配置概率是针对同一类型的业务对象而言的,同一第三方平台可以设置有不同类型的业务对象的配置概率。例如,在彩票数据***中,同一出票商可以分别有单式类型、复式类型的配置概率。It should be noted that the configuration probability is for the same type of business object, and the same third-party platform can set the configuration probability of different types of business objects. For example, in the lottery data system, the same ticket issuer can have a configuration probability of a single type or a multiple type.
一般一个第三方平台只需分配一个客户端,但是在某些情况下,例如为了提高业务对象的处理速度(例如出票速度),可以为一个第三方账号创建多个客户端,但为每个客户端配置接口参数时注意必须使用统一的第三方账号参数(例如用户名和密码),否则可能会影响跟第三方平台的数据核算。Generally, a third-party platform only needs to allocate one client, but in some cases, for example, to improve the processing speed of business objects (such as ticketing speed), multiple clients can be created for a third-party account, but for each When configuring the interface parameters, the client must use the unified third-party account parameters (such as user name and password), otherwise it may affect the data accounting with the third-party platform.
本发明基于配置概率可以对应调整第三方平台的业务对象的运算量,实现了全网第三方平台的负载均衡,减少了网络堵塞,优化了访问流量,提高了整体的服务质量,为用户提供更好的体验。The invention can adjust the calculation amount of the business object of the third-party platform based on the configuration probability, realize the load balancing of the third-party platform of the whole network, reduce the network congestion, optimize the access traffic, improve the overall service quality, and provide the user with more Good experience.
在本发明的一种优选实施例中,在将所述一个或多个第一子业务对象发送至客户端之后:In a preferred embodiment of the invention, after the one or more first sub-service objects are sent to the client:
所述客户端可以用于将所述第一子业务对象划分为一个或多个第二子业务对象,将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台可以用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。The client may be configured to divide the first sub-service object into one or more second sub-service objects, and send the one or more second sub-service objects to a third-party platform; the third-party platform The target business object may be generated by using the primary account, the primary parameter, and the second sub-service object.
本发明的控制中心在接收到原始业务对象时,将原始业务对象拆分 为一个或多个第一子业务对象,客户端将第一子业务对象拆分为一个或多个第二子业务对象,再发送到对应的第三方平台进行处理,实现了将数据运算量平均分配,进而实现了全网的均衡负载,避免了客户端与第三方平台的资源占用过大的问题,大大减少了数据的预算时间,提高了业务对象的处理效率,进而提高了全网的服务质量,提高了用户体验。The control center of the present invention splits the original business object when receiving the original business object For one or more first child business objects, the client splits the first child business object into one or more second child business objects, and then sends them to the corresponding third-party platform for processing, thereby realizing the average amount of data operations. The allocation realizes the balanced load of the whole network, avoids the problem of excessive resource occupation of the client and the third-party platform, greatly reduces the budget time of the data, improves the processing efficiency of the business object, and improves the service of the whole network. Quality improves the user experience.
参照图10,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例6的步骤流程图,所述第三方平台可以具有主账号和主参数,一个或多个客户端可以与所述第三方平台相连,所述方法可以包括如下步骤:Referring to FIG. 10, a flow chart of steps of a method for processing a third-party platform-based business object according to an embodiment of the present invention is shown. The third-party platform may have a primary account and a primary parameter, one or more. The client can be connected to the third-party platform, and the method can include the following steps:
步骤S810,接收原始业务对象;所述原始业务对象包括第一参数值;Step S810, receiving an original service object; the original service object includes a first parameter value;
步骤S820,当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分为一个或多个第一子业务对象;Step S820, when it is verified that the original business object is legal, the original business object is divided into one or more first sub-service objects according to the parameter value;
步骤S830,将所述第一子业务对象的状态更改为处理中状态;Step S830, changing the state of the first sub-service object to an in-process state;
例如,在彩票数据***中,用户的投注方案一旦被拆分成出票任务,不管其出票任务是否开始出票,投注方案状态都可以将立即被更改为“出票中”状态。For example, in the lottery data system, once the user's bet plan is split into a ticketing task, the bet plan status can be immediately changed to the "invoiced" status regardless of whether the ticketing task starts to be issued.
步骤S840,将所述一个或多个第一子业务对象发送至客户端;所述客户端用于将所述第一子业务对象划分为一个或多个第二子业务对象,将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。Step S840, sending the one or more first sub-service objects to the client; the client is configured to divide the first sub-service object into one or more second sub-service objects, and the one Or the plurality of second sub-service objects are sent to the third-party platform; the third-party platform is configured to generate the target service object by using the main account, the main parameter, and the second sub-service object.
步骤S850,当接收到所述客户端发送的生成目标业务对象的信息时,将所述目标业务对象对应的第二子业务对象的状态更改为完成状态;Step S850, when receiving the information of the target business object that is sent by the client, changing the state of the second child service object corresponding to the target business object to a completion state;
当生成目标业务对象后,第三方平台可以返回生成目标业务对象的信息给客户端,客户端可以将生成目标业务对象的信息返回给控制中心。After the target business object is generated, the third-party platform may return information for generating the target business object to the client, and the client may return information for generating the target business object to the control center.
步骤S860,当所有第二子业务对象的状态全部为完成状态时,返回原始业务对象完成处理的信息; Step S860, when all the states of the second sub-service object are all in the completion state, returning information that the original service object completes processing;
例如,在彩票数据***中,当一个投注方案对应的全部出票任务都出票成功时,投注方案也将完成出票。For example, in the lottery data system, when all the ticketing tasks corresponding to a bet scheme are successfully issued, the bet scheme will also complete the ticketing.
本发明对第二子业务对象的状态设置为处理状态和完成状态,使得原始业务对象和第二子业务对象进行完成度的统一,减少漏操作、误操作的几率,提高了处理的成功率。The invention sets the state of the second sub-service object to the processing state and the completion state, so that the original business object and the second sub-service object are unified in the degree of completion, the probability of leakage operation and misoperation is reduced, and the success rate of the processing is improved.
步骤S870,当所述完成状态更改失败时,从所述第三方平台获取所述第二子业务对象的处理结果;所述处理结果包括处理失败;Step S870, when the completion status change fails, obtaining, by the third-party platform, a processing result of the second sub-service object; the processing result includes processing failure;
在实际应用中,可能由于***运行过程中出现数据库崩溃、网络中断、通讯故障等故障时,可能出现异常情况。In practical applications, abnormal conditions may occur due to database crashes, network interruptions, and communication failures during system operation.
例如,在彩票数据***中,当跟出票接口的通讯出现故障或因为其他原因,在明确知道某个状态为“出票中”的投注方案实际已经出票成功,而***无法自动处理时,可以通过完成出票功能将该投注方案手工完成出票。For example, in the lottery data system, when the communication with the ticketing interface fails or for other reasons, when the bet scheme that knows that a certain status is "invoiced" has actually been successfully issued, and the system cannot automatically process it, The bet program can be manually issued by completing the ticketing function.
步骤S880,将所述第二子业务对象与所述原始业务对象进行对比,获得未进行处理的第二子业务对象;Step S880, comparing the second sub-service object with the original business object to obtain a second sub-service object that is not processed;
在本发明实施例中,可以从第三方平台获取第二子业务对象的处理结果,根据实际情况将完成原始业务对象的处理,或者重新执行拆分原始业务对象的操作。In the embodiment of the present invention, the processing result of the second sub-service object may be obtained from the third-party platform, and the processing of the original business object may be completed according to the actual situation, or the operation of splitting the original business object may be re-executed.
步骤S890,将所述处理失败和未进行处理的第二子业务对象发送至客户端;所述客户端用于将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。Step S890, the second sub-service object that fails to be processed and sent to the client is sent to the client; the client is configured to send the second sub-service object that has failed to be processed and is not processed to the third-party platform; The third-party platform is configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object that fails to process and is not processed.
本发明在业务对象处理出现异常情况时,进行第二子业务对象与原始业务对象的核对,以找出异常情况对完成情况的影响,再重新进行第二子业务对象的处理,提高了***的稳定性和抗风险能力。The invention checks the second sub-business object and the original business object when the business object is processed abnormally, so as to find out the influence of the abnormal situation on the completion condition, and then re-processes the second sub-service object, thereby improving the system. Stability and risk resistance.
参照图11,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理方法实施例7的步骤流程图,所述第三方平台可以具有主账 号和主参数,一个或多个客户端可以与所述第三方平台相连,所述方法可以包括如下步骤:Referring to FIG. 11, a flow chart of steps of a method for processing a third-party platform-based business object according to an embodiment of the present invention is shown. The third-party platform may have a primary account. And a primary parameter, one or more clients may be connected to the third party platform, and the method may include the following steps:
步骤S910,接收第一子业务对象;所述第一子业务对象为接收原始业务对象,所述原始业务对象包括第一参数值,当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分的一个或多个第一子业务对象;Step S910: Receive a first sub-service object; the first sub-service object is a receiving original service object, where the original service object includes a first parameter value, and when the original service object is verified to be legal, according to the parameter value One or more first sub-service objects divided by the original business object;
步骤S920,将所述第一子业务对象划分为一个或多个第二子业务对象;Step S920, dividing the first sub-service object into one or more second sub-service objects;
在本发明实施例中,客户端可以将原始业务对象或者第一子业务对象按照第三方平台的接口参数拆分为一个或多个第二子业务对象。In the embodiment of the present invention, the client may split the original business object or the first sub-service object into one or more second sub-service objects according to the interface parameters of the third-party platform.
需要说明的是,不同第三方平台,可以有不同的接口参数。It should be noted that different third-party platforms may have different interface parameters.
例如,在彩票数据***中,如图12所示,在控制中心接收到客户的投注方案(原始业务对象)之后,可以将投注方案拆分为一个或多个出票任务(第一子业务对象),在客户端可以将出票任务拆分为一个或多个出票订单(第二子业务对象)。For example, in the lottery data system, as shown in FIG. 12, after the control center receives the customer's bet plan (original business object), the bet plan can be split into one or more ticketing tasks (the first sub-business object) ), the client can split the ticketing task into one or more ticketing orders (second sub-business object).
出票订单示例可以如下:An example of a ticketing order can be as follows:
Figure PCTCN2014095953-appb-000003
Figure PCTCN2014095953-appb-000003
Figure PCTCN2014095953-appb-000004
Figure PCTCN2014095953-appb-000004
彩票投注的基本单位是票,它对应了投注请求消息体(处理请求)中的一个ticket元素,每一票可以包含同样投注方式的投注号码,并且对投注号码的数量有限制。The basic unit of lottery betting is a ticket, which corresponds to a ticket element in the bet request message body (processing request), each ticket can contain a bet number of the same bet method, and there is a limit on the number of bet numbers.
在投注的请求消息体中,lotteryRequest是一个容器元素,它可以由多个ticket子元素(第二子业务对象),表示第三方平台可以处理客户端的批量的投注请求。In the request message body of the bet, the lotteryRequest is a container element, which can be represented by a plurality of ticket sub-elements (second sub-service objects), indicating that the third-party platform can process the batch bet request of the client.
步骤S930,将所述一个或多个第二子业务对象发送至第三方平台;Step S930, sending the one or more second sub-service objects to a third-party platform;
在本发明实施例中,可以按照预设的接口参数采用第三方账号将所述处理请求发送至所述第三方平台。In the embodiment of the present invention, the processing request may be sent to the third-party platform by using a third-party account according to preset interface parameters.
在具体实现中,所述接口参数可以包括以下的一种或多种:In a specific implementation, the interface parameter may include one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
其中,第三方参数查询参数可以用于客户端在每天第一次处理业务对象时自动通过接口查询第三方账号在第三方平台的第三方参数并保存。The third-party parameter query parameter can be used by the client to automatically query the third-party parameters of the third-party account on the third-party platform through the interface when the business object is processed for the first time every day.
第三方账号名称可以用于选择对应的出票接口账户(接入账户)名称。The third-party account name can be used to select the corresponding ticketing interface account (access account) name.
接口地址可以为第三方平台的接口的接入地址,可以是域名,也可以是IP地址。The interface address can be the access address of the interface of the third-party platform, which can be a domain name or an IP address.
第三方账号编号可以为由第三方平台统一分配的第三方账号的编号、用户名或者终端机号。 The third-party account number may be the number, user name, or terminal number of the third-party account uniformly allocated by the third-party platform.
用户标识可以为请求业务对象处理的用户标识(例如账户名称)。The user ID can be a user ID (eg, an account name) that is processed by the requesting business object.
密钥可以用于对通讯数据进行签名的密钥或者加密密钥。The key can be used for a key or encryption key that signs the communication data.
在本发明的一种优选实施例中,在将所述一个或多个第二子业务对象发送至第三方平台之后:In a preferred embodiment of the invention, after the one or more second sub-business objects are sent to a third party platform:
所述第三方平台可以用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。The third-party platform may be configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object.
具体地,所述第三方平台可以用于采用所述主账号将所述第二子业务对象发送至所述主平台;所述主平台可以用于采用所述第二子业务对象生成目标业务对象。Specifically, the third-party platform may be configured to send the second sub-service object to the main platform by using the primary account; the main platform may be configured to generate a target service object by using the second sub-service object. .
在本发明的一种优选实施例中,所述方法还可以包括如下步骤:In a preferred embodiment of the present invention, the method may further include the following steps:
步骤S940,接收处理失败和未进行处理的第二子业务对象;Step S940, receiving a second sub-service object that fails to process and is not processed;
步骤S950,将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。Step S950, the second sub-service object that fails to be processed and sent to the third-party platform is sent; the third-party platform is configured to adopt the main account, the main parameter, and the processing fails and is not processed. The second child business object generates the target business object.
具体地,所述第三方平台可以用于采用所述主账号将所述处理失败和未进行处理的第二子业务对象发送至所述主平台;所述主平台可以用于采用所述处理失败和未进行处理的第二子业务对象生成目标业务对象。Specifically, the third-party platform may be configured to send, by using the primary account, the second sub-service object that fails to be processed and not processed to the primary platform; the primary platform may be configured to adopt the processing failure. And the second sub-business object that is not processed generates a target business object.
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。For the method embodiments, for the sake of brevity, they are all described as a series of combinations of actions, but those skilled in the art will appreciate that the present invention is not limited by the described order of actions, as some steps are in accordance with the present invention. It can be done in other orders or at the same time. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例还提供了一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三 方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;The embodiment of the present invention further provides a processing system for a business object based on a third-party platform, where the main platform is connected to one or more third-party platforms, and the third-party platform stores the main account of the main platform. The primary account includes a primary parameter, and the third-party platform is connected to an operating platform, and the operating platform stores one or more thirds thereof on the third-party platform. a third party account, the third party account includes a third party parameter, the operation platform includes one or more clients and a control center that manages the one or more clients, and the client stores its own operating platform a sub-account, the sub-account including sub-parameters;
所述***包括:The system includes:
第一接收模块,适于接收原始业务对象的处理请求a first receiving module, adapted to receive a processing request of an original business object
第一发送模块,适于将所述处理请求发送至所述一个或多个客户端。The first sending module is adapted to send the processing request to the one or more clients.
在本发明实施例的一种优选实施例中,所述处理请求中包括参数变量,则所述一个或多个客户端用于采用所述第三方账号将所述处理请求发送至所述第三方平台;所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;所述***还包括:In a preferred embodiment of the present invention, the processing request includes a parameter variable, and the one or more clients are configured to send the processing request to the third party by using the third-party account. The platform is configured to send the processing request to the main platform by using the primary account, and adjust the third-party parameters of the third-party account by using the parameter variable; And adjusting the main parameter of the primary account by using the parameter variable; the system further includes:
第一调整模块,适于采用所述参数变量对所述子账号的子参数进行调整。The first adjustment module is adapted to adjust the sub-parameters of the sub-account by using the parameter variable.
在本发明实施例的一种优选实施例中,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。In a preferred embodiment of the embodiment of the present invention, the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
在本发明实施例的一种优选实施例中,所述第一发送模块还适于:In a preferred embodiment of the embodiment of the present invention, the first sending module is further adapted to:
依据预示的配置概率确定用于处理所述处理请求的当前第三方平台及其对应的一个或多个客户端;Determining a current third-party platform for processing the processing request and its corresponding one or more clients according to the predicted configuration probability;
将所述处理请求发送至所述一个或多个客户端。The processing request is sent to the one or more clients.
在本发明实施例的一种优选实施例中,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request further includes an original service object, where the main platform is further configured to generate a target service object by using the original service object.
在本发明实施例的一种优选实施例中,所述***还包括:In a preferred embodiment of the embodiment of the present invention, the system further includes:
警报模块,适于当所述子账号的子参数小于预设阈值时,生成警报信息。The alarm module is configured to generate alarm information when the sub-parameter of the sub-account is less than a preset threshold.
在本发明实施例的一种优选实施例中,所述第三方平台还保存有针对业务对象的第一截止时间和配置概率,至少一个第三方平台具有针对该业务对象的第二截止时间,所述***还包括: In a preferred embodiment of the present invention, the third-party platform further stores a first deadline and a configuration probability for the service object, and the at least one third-party platform has a second deadline for the service object. The system also includes:
第一调整模块,适于在到达所述第二截止时间时,将所述第二截止时间对应的第三方平台的配置概率设置为低于预设阈值的比例;所述第二截止时间小于或等于所述第一截止时间;The first adjustment module is configured to set a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold when the second deadline is reached; the second deadline is less than or Equal to the first deadline;
第二调整模块,适于将其他第三方平台的配置概率进行对应的调整;a second adjustment module, configured to adjust corresponding configuration probabilities of other third-party platforms;
所述第一发送模块包括:The first sending module includes:
确定模块,适于依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的一个或多个客户端;a determining module, configured to determine, according to a current configuration probability, a third-party platform for processing the processing request and one or more corresponding clients thereof;
发送模块,适于将所述第一业务对象发送至所述一个或多个客户端;所述一个或多个客户端用于按照所述第三方平台预设的接口参数将所述第一业务对象生成第二业务对象,将所述第二业务对象发送至所述第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二业务对象生成目标业务对象。a sending module, configured to send the first service object to the one or more clients; the one or more clients are configured to use the first service according to an interface parameter preset by the third-party platform The object generates a second business object, and sends the second business object to the third-party platform; the third-party platform is configured to generate a target business object by using the primary account, the primary parameter, and the second business object .
在本发明实施例的一种优选实施例中,所有所述第三方平台的配置概率之和为0或1。In a preferred embodiment of the embodiment of the present invention, the sum of the configuration probabilities of all the third-party platforms is 0 or 1.
在本发明实施例的一种优选实施例中,所述客户端具有处理原始业务对象对应的权限信息,所述第一发送模块还适于:In a preferred embodiment of the present invention, the client has the permission information corresponding to the original service object, and the first sending module is further adapted to:
依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的,且具有权限信息的一个或多个客户端。Determining, according to the current configuration probability, a third-party platform for processing the processing request and its corresponding one or more clients having rights information.
在本发明实施例的一种优选实施例中,所述原始业务对象包括型号信息和版本信息,所述第一发送模块还适于:In a preferred embodiment of the present invention, the original service object includes model information and version information, and the first sending module is further adapted to:
确定用于处理指定请求的当前第三方平台及其对应的一个或多个客户端;Determining the current third-party platform and its corresponding one or more clients for processing the specified request;
其中,所述指定请求包括对指定型号信息和指定版本信息的原始业务对象的处理请求;所述第三方平台的配置概率为1。The specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform is 1.
在本发明实施例的一种优选实施例中,所述处理请求中还包括原始业务对象,所述原始业务对象包括第一参数值;所述第一发送模块包括:In a preferred embodiment of the present invention, the processing request further includes an original service object, where the original service object includes a first parameter value, and the first sending module includes:
第一划分模块,适于检验所述原始业务对象合法时,按照所述第一参数值将所述原始业务对象划分为一个或多个第一子业务对象; a first dividing module, configured to: when the original business object is verified to be legal, divide the original business object into one or more first sub-service objects according to the first parameter value;
发送模块,适于将所述一个或多个第一子业务对象发送至客户端;所述客户端用于将所述第一子业务对象划分为一个或多个第二子业务对象,将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。a sending module, configured to send the one or more first sub-service objects to a client; the client is configured to divide the first sub-service object into one or more second sub-service objects, Transmitting the one or more second sub-service objects to the third-party platform; the third-party platform is configured to generate the target service object by using the main account, the main parameter, and the second sub-service object.
在本发明实施例的一种优选实施例中,所述第一参数值包括第一倍率信息和/或第一数量信息;In a preferred embodiment of the present invention, the first parameter value includes first rate information and/or first quantity information;
所述第一子业务对象包括第二参数值;所述第二参数值包括第二倍率信息和/或第二数量信息;The first sub-service object includes a second parameter value; the second parameter value includes second magnification information and/or second quantity information;
所述第二倍率信息的乘积等于所述第一倍率信息;The product of the second magnification information is equal to the first magnification information;
所述第二数量信息的和等于所述第一数量信息。The sum of the second quantity information is equal to the first quantity information.
在本发明实施例的一种优选实施例中,所述第一发送模块还适于:In a preferred embodiment of the embodiment of the present invention, the first sending module is further adapted to:
依据所述配置概率确定用于处理所述第一子业务对象的当前第三方平台及其对应的一个或多个客户端;Determining, according to the configuration probability, a current third-party platform for processing the first sub-service object and one or more corresponding clients thereof;
将所述第一子业务对象发送至所述一个或多个客户端。Sending the first sub-service object to the one or more clients.
在本发明实施例的一种优选实施例中,所有第三方平台对应的配置概率之和为1。In a preferred embodiment of the embodiment of the present invention, the sum of the configuration probabilities corresponding to all the third-party platforms is 1.
在本发明实施例的一种优选实施例中,所述***还包括:In a preferred embodiment of the embodiment of the present invention, the system further includes:
第一更改模块,适于将所述第二子业务对象的状态更改为处理中状态。The first change module is adapted to change the state of the second sub-business object to an in-process state.
在本发明实施例的一种优选实施例中,所述***还包括:In a preferred embodiment of the embodiment of the present invention, the system further includes:
第二更改模块,适于在接收到所述客户端发送的生成目标业务对象的信息时,将所述目标业务对象对应的第二子业务对象的状态更改为完成状态。The second change module is adapted to change the state of the second sub-service object corresponding to the target service object to a completion state when receiving the information of the target service object sent by the client.
在本发明实施例的一种优选实施例中,所述***还包括:In a preferred embodiment of the embodiment of the present invention, the system further includes:
返回模块,适于在所有第二子业务对象的状态全部为完成状态时,返回原始业务对象完成处理的信息。The return module is configured to return information that the original business object completes processing when all the states of the second sub-business object are in a completed state.
在本发明实施例的一种优选实施例中,所述***还包括: In a preferred embodiment of the embodiment of the present invention, the system further includes:
获取模块,适于在所述完成状态更改失败时,从所述第三方平台获取所述第二子业务对象的处理结果;所述处理结果包括处理失败;An obtaining module, configured to acquire, from the third-party platform, a processing result of the second sub-service object when the completion status change fails; the processing result includes a processing failure;
对比模块,适于将所述第二子业务对象与所述原始业务对象进行对比,获得未进行处理的第二子业务对象;a comparison module, configured to compare the second sub-business object with the original business object to obtain a second sub-service object that is not processed;
第二发送模块,适于将所述处理失败和未进行处理的第二子业务对象发送至客户端;所述客户端用于将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。a second sending module, configured to send the processed and unprocessed second sub-service object to the client; the client is configured to send the processed and unprocessed second sub-service object to a third-party platform; the third-party platform is configured to generate a target business object by using the primary account, the primary parameter, and the second sub-service object that fails to process and is not processed.
在本发明实施例的一种优选实施例中,所述业务对象包括彩票数据,所述第三方平台包括出票商,所述客户端包括出票员。In a preferred embodiment of the embodiments of the present invention, the business object includes lottery data, the third party platform includes a ticket issuer, and the client includes a ticket clerk.
本发明实施例提供了一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;An embodiment of the present invention provides a processing system for a service object based on a third-party platform, where the main platform is connected to one or more third-party platforms, and the third-party platform stores its main account on the main platform, The primary account includes a primary parameter, and the third-party platform is connected to the operating platform, and the operating platform stores one or more third-party accounts on the third-party platform, and the third-party account includes third-party parameters, The operation platform includes one or more clients and a control center that manages the one or more clients, the client stores its sub-accounts in the operation platform, and the sub-accounts include sub-parameters;
所述***包括:The system includes:
第二接收模块,适于接收控制中心发送的原始业务对象的处理请求;a second receiving module, configured to receive a processing request of an original service object sent by the control center;
第二发送模块,适于采用所述第三方账号将所述处理请求发送至所述第三方平台。The second sending module is adapted to send the processing request to the third-party platform by using the third-party account.
在本发明实施例的一种优选实施例中,所述处理请求中包括参数变量,则所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整。 In a preferred embodiment of the present invention, the processing request includes a parameter variable, and the third-party platform is configured to send the processing request to the main platform by using the primary account, and adopt The parameter variable adjusts a third-party parameter of the third-party account; the master platform is configured to adjust a primary parameter of the primary account by using the parameter variable.
在本发明实施例的一种优选实施例中,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。In a preferred embodiment of the embodiment of the present invention, the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
在本发明实施例的一种优选实施例中,所述第二发送模块还适于:In a preferred embodiment of the embodiment of the present invention, the second sending module is further adapted to:
按照预设的接口参数采用所述第三方账号将所述处理请求发送至所述第三方平台。The processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
在本发明实施例的一种优选实施例中,所述接口参数包括以下的一种或多种:In a preferred embodiment of the embodiment of the present invention, the interface parameter includes one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
在本发明实施例的一种优选实施例中,所述处理请求中包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request includes an original service object, and the main platform is further configured to generate a target service object by using the original service object.
在本发明实施例的一种优选实施例中,所述处理请求中包括第一子业务对象,所述第一子业务对象为接收原始业务对象,所述原始业务对象包括第一参数值,当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分的一个或多个第一子业务对象;,所述第二发送模块包括:In a preferred embodiment of the present invention, the processing request includes a first sub-service object, the first sub-service object is a receiving original service object, and the original service object includes a first parameter value, when And verifying, when the original business object is legal, dividing the original business object into one or more first sub-service objects according to the parameter value; and the second sending module includes:
第二划分模块,适于将所述第一子业务对象划分为一个或多个第二子业务对象;a second dividing module, configured to divide the first sub-service object into one or more second sub-service objects;
发送模块,适于将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。a sending module, configured to send the one or more second sub-service objects to a third-party platform, where the third-party platform is configured to generate a target by using the primary account, the primary parameter, and the second sub-service object Business object.
在本发明实施例的一种优选实施例中,所述***还包括:In a preferred embodiment of the embodiment of the present invention, the system further includes:
第三接收模块,适于接收处理失败和未进行处理的第二子业务对象;a third receiving module, configured to receive a second sub-service object that fails to process and is not processed;
第四发送模块,适于将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。a fourth sending module, configured to send the second sub-service object that fails to be processed to the third-party platform; the third-party platform is configured to adopt the main account, the main parameter, and the processing fails And the second sub-business object that is not processed generates a target business object.
在本发明实施例的一种优选实施例中,所述第三方平台包括出票商,所述客户端包括出票员。 In a preferred embodiment of the embodiments of the present invention, the third party platform includes a ticket voucher, and the client includes a ticket clerk.
本发明实施例还提供了一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;The embodiment of the present invention further provides a processing system for a business object based on a third-party platform, where the main platform is connected to one or more third-party platforms, and the third-party platform stores the main account of the main platform. The third account platform is connected to the operation platform, and the operation platform stores one or more third party accounts on the third party platform, and the third party account includes third party parameters. The operating platform includes one or more clients and a control center that manages the one or more clients, the client retains its sub-accounts in the operating platform, and the sub-accounts include sub-parameters;
所述***包括:The system includes:
第三接收模块,适于接收所述一个或多个客户端发送的原始业务对象的处理请求;a third receiving module, configured to receive a processing request of the original service object sent by the one or more clients;
第三发送模块,适于采用所述主账号将所述处理请求发送至所述主平台。The third sending module is adapted to send the processing request to the main platform by using the primary account.
在本发明实施例的一种优选实施例中,所述处理请求中包括参数变量;则所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;所述***还包括:In a preferred embodiment of the present invention, the processing request includes a parameter variable; the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable; the system further includes :
第二调整模块,适于采用所述参数变量对所述第三方账号的第三方参数进行调整。The second adjustment module is adapted to adjust the third-party parameters of the third-party account by using the parameter variable.
在本发明实施例的一种优选实施例中,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。In a preferred embodiment of the embodiment of the present invention, the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
在本发明实施例的一种优选实施例中,所述第三接收模块还适于:In a preferred embodiment of the embodiment of the present invention, the third receiving module is further adapted to:
按照预设的接口参数接收所述一个或多个客户端发送的原始业务对象的处理请求。Receiving a processing request of the original business object sent by the one or more clients according to a preset interface parameter.
在本发明实施例的一种优选实施例中,所述接口参数包括以下的一种或多种:In a preferred embodiment of the embodiment of the present invention, the interface parameter includes one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
在本发明实施例的一种优选实施例中,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。 In a preferred embodiment of the present invention, the processing request further includes an original service object, where the main platform is further configured to generate a target service object by using the original service object.
在本发明实施例的一种优选实施例中,所述第三方平台包括出票商,所述客户端包括出票员。In a preferred embodiment of the embodiments of the present invention, the third party platform includes a ticket voucher, and the client includes a ticket clerk.
以下结合附图对上述***实施例加以具体说明:The above system embodiment is specifically described below with reference to the accompanying drawings:
参照图13,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理***实施例1的结构框图,Referring to FIG. 13, a structural block diagram of Embodiment 1 of a processing system for a third-party platform-based business object according to an embodiment of the present invention is shown.
主平台可以与一个或多个第三方平台相连,所述第三方平台可以保存有其在所述主平台的主账号,所述主账号可以包括主参数,所述第三方平台可以与运营平台相连,所述运营平台可以保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号可以包括第三方参数,所述运营平台可以包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端可以保存有其在所述运营平台的子账号,所述子账号可以包括子参数;The main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform. The operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. a control center of one or more clients, the client may maintain a sub-account of the operating platform, and the sub-account may include sub-parameters;
所述的***可以包括如下模块:The system can include the following modules:
第一接收模块110,适于接收原始业务对象的处理请求;所述处理请求中包括参数变量;The first receiving module 110 is adapted to receive a processing request of the original service object; the processing request includes a parameter variable;
第一发送模块120,适于将所述处理请求发送至所述一个或多个客户端;所述一个或多个客户端用于采用所述第三方账号将所述处理请求发送至所述第三方平台;所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;a first sending module 120, configured to send the processing request to the one or more clients, where the one or more clients are configured to send the processing request to the first a third-party platform, wherein the third-party platform is configured to send the processing request to the main platform by using the primary account, and adjust, by using the parameter variable, a third-party parameter of the third-party account; The platform is configured to adjust the main parameter of the primary account by using the parameter variable;
第一调整模块130,适于采用所述参数变量对所述子账号的子参数进行调整。The first adjustment module 130 is adapted to adjust the sub-parameters of the sub-account by using the parameter variable.
在本发明的一种优选实施例中,针对同一个第三方平台的所有子参数之和可以等于对应的第三方账号的第三方参数。In a preferred embodiment of the invention, the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
在本发明的一种优选实施例中,所述第一发送模块110还可以适于:In a preferred embodiment of the present invention, the first sending module 110 may further be adapted to:
依据预示的配置概率确定用于处理所述处理请求的当前第三方平台 及其对应的一个或多个客户端;Determining a current third party platform for processing the processing request based on the predicted configuration probability And its corresponding one or more clients;
将所述处理请求发送至所述一个或多个客户端。The processing request is sent to the one or more clients.
在本发明的一种优选实施例中,所述处理请求中还可以包括原始业务对象,所述主平台还可以用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request may further include an original service object, and the main platform may be further configured to generate the target business object by using the original business object.
在本发明的一种优选实施例中,所述***还可以包括如下模块:In a preferred embodiment of the invention, the system may further comprise the following modules:
警报模块,适于当所述子账号的子参数小于预设阈值时,生成警报信息。The alarm module is configured to generate alarm information when the sub-parameter of the sub-account is less than a preset threshold.
在本发明的一种优选实施例中,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In a preferred embodiment of the invention, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
参照图14,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理***实施例2的结构框图,Referring to FIG. 14, a structural block diagram of Embodiment 2 of a processing system for a third-party platform-based business object according to an embodiment of the present invention is shown.
主平台可以与一个或多个第三方平台相连,所述第三方平台可以保存有其在所述主平台的主账号,所述主账号可以包括主参数,所述第三方平台可以与运营平台相连,所述运营平台可以保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号可以包括第三方参数,所述运营平台可以包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端可以保存有其在所述运营平台的子账号,所述子账号可以包括子参数;The main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform. The operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. a control center of one or more clients, the client may maintain a sub-account of the operating platform, and the sub-account may include sub-parameters;
所述的***可以包括如下模块:The system can include the following modules:
第二接收模块210,适于接收控制中心发送的原始业务对象的处理请求;所述处理请求中包括参数变量;The second receiving module 210 is adapted to receive a processing request of the original service object sent by the control center; the processing request includes a parameter variable;
第二发送模块220,适于采用所述第三方账号将所述处理请求发送至所述第三方平台;所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整。 The second sending module 220 is configured to send the processing request to the third-party platform by using the third-party account, where the third-party platform is configured to send the processing request to the main platform by using the primary account And adjusting, by using the parameter variable, a third-party parameter of the third-party account; the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable.
在本发明的一种优选实施例中,针对同一个第三方平台的所有子参数之和可以等于对应的第三方账号的第三方参数。In a preferred embodiment of the invention, the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
在本发明的一种优选实施例中,所述第二发送模块220还可以适于:In a preferred embodiment of the present invention, the second sending module 220 is further adapted to:
按照预设的接口参数采用所述第三方账号将所述处理请求发送至所述第三方平台。The processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
在本发明的一种优选实施例中,所述接口参数可以包括以下的一种或多种:In a preferred embodiment of the present invention, the interface parameter may include one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
在本发明的一种优选实施例中,所述处理请求中还可以包括原始业务对象,所述主平台还可以用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request may further include an original service object, and the main platform may be further configured to generate the target business object by using the original business object.
在本发明的一种优选实施例中,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In a preferred embodiment of the invention, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
参照图15,示出了本发明一个实施例的一种基于第三方平台的业务对象的处理***实施例3的结构框图;Referring to FIG. 15, a structural block diagram of Embodiment 3 of a processing system for a third-party platform-based business object according to an embodiment of the present invention is shown;
主平台可以与一个或多个第三方平台相连,所述第三方平台可以保存有其在所述主平台的主账号,所述主账号可以包括主参数,所述第三方平台可以与运营平台相连,所述运营平台可以保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号可以包括第三方参数,所述运营平台可以包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端可以保存有其在所述运营平台的子账号,所述子账号可以包括子参数;The main platform can be connected to one or more third-party platforms, and the third-party platform can save its main account on the main platform, the main account can include a main parameter, and the third-party platform can be connected to the operating platform. The operating platform may maintain one or more third party accounts of the third party platform, the third party account may include third party parameters, and the operating platform may include one or more clients and a management office. a control center of one or more clients, the client may maintain a sub-account of the operating platform, and the sub-account may include sub-parameters;
所述的***可以包括如下模块:The system can include the following modules:
第三接收模块310,适于接收所述一个或多个客户端发送的原始业务对象的处理请求;所述处理请求中包括参数变量;The third receiving module 310 is adapted to receive a processing request of the original service object sent by the one or more clients; the processing request includes a parameter variable;
第三发送模块320,适于采用所述主账号将所述处理请求发送至所述 主平台;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;The third sending module 320 is adapted to send the processing request to the a main platform; the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable;
第二调整模块330,适于采用所述参数变量对所述第三方账号的第三方参数进行调整。The second adjustment module 330 is adapted to adjust the third-party parameters of the third-party account by using the parameter variable.
在本发明的一种优选实施例中,针对同一个第三方平台的所有子参数之和可以等于对应的第三方账号的第三方参数。In a preferred embodiment of the invention, the sum of all sub-parameters for the same third-party platform may be equal to the third-party parameters of the corresponding third-party account.
在本发明的一种优选实施例中,所述第三接收模块310还可以适于:In a preferred embodiment of the present invention, the third receiving module 310 is further adapted to:
按照预设的接口参数接收所述一个或多个客户端发送的原始业务对象的处理请求。Receiving a processing request of the original business object sent by the one or more clients according to a preset interface parameter.
在本发明的一种优选实施例中,所述接口参数可以包括以下的一种或多种:In a preferred embodiment of the present invention, the interface parameter may include one or more of the following:
第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
在本发明的一种优选实施例中,所述处理请求中还可以包括原始业务对象,所述主平台还可以用于采用所述原始业务对象生成目标业务对象。In a preferred embodiment of the present invention, the processing request may further include an original service object, and the main platform may be further configured to generate the target business object by using the original business object.
在本发明的一种优选实施例中,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In a preferred embodiment of the invention, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
参照图16,示出了本发明一个实施例的基于第三方平台的业务对象的处理***实施例4的结构框图;Referring to FIG. 16, a structural block diagram of Embodiment 4 of a processing system of a third-party platform-based business object according to an embodiment of the present invention is shown;
主平台可以与一个或多个第三方平台相连,所述第三方平台可以保存有其在所述主平台的主账号以及针对业务对象的第一截止时间和配置概率,至少一个第三方平台可以具有针对该业务对象的第二截止时间,所述主账号可以包括主参数,所述第三方平台可以与运营平台相连,所述运营平台可以包括一个或多个客户端及管理所述一个或多个客户端的控制中心;The primary platform may be connected to one or more third-party platforms, the third-party platform may maintain its primary account number on the primary platform and a first deadline and configuration probability for the business object, and at least one third-party platform may have For the second deadline of the business object, the primary account may include a primary parameter, and the third-party platform may be connected to an operating platform, and the operating platform may include one or more clients and manage the one or more Client's control center;
所述***可以包括如下模块: The system can include the following modules:
第一调整模块410,适于在到达所述第二截止时间时,将所述第二截止时间对应的第三方平台的配置概率设置为低于预设阈值的比例;所述第二截止时间小于或等于所述第一截止时间;The first adjustment module 410 is configured to set a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold when the second deadline is reached; the second deadline is less than Or equal to the first deadline;
第二调整模块420,适于将其他第三方平台的配置概率进行对应的调整;The second adjustment module 420 is adapted to perform corresponding adjustments on configuration probabilities of other third-party platforms;
接收模块430,适于接收原始业务对象的处理请求;The receiving module 430 is adapted to receive a processing request of the original service object.
确定模块440,适于依据当前的配置概率确定用于处理所述请求的第三方平台及其对应的一个或多个客户端;The determining module 440 is adapted to determine, according to the current configuration probability, a third-party platform for processing the request and its corresponding one or more clients;
发送模块450,适于将所述原始业务对象发送至所述一个或多个客户端;所述一个或多个客户端用于按照所述第三方平台预设的接口参数将所述原始业务对象生成子业务对象,将所述子业务对象发送至所述第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述子业务对象生成目标业务对象。The sending module 450 is adapted to send the original service object to the one or more clients; the one or more clients are configured to use the original business object according to an interface parameter preset by the third-party platform Generating a child business object, and sending the child business object to the third party platform; the third party platform is configured to generate a target business object by using the primary account, the primary parameter, and the child business object.
在本发明的一种优选实施例中,所有所述第三方平台的配置概率之和可以为0或1。In a preferred embodiment of the invention, the sum of the configuration probabilities of all of the third party platforms may be 0 or 1.
在本发明的一种优选实施例中,所述客户端可以具有处理业务对象对应的权限信息,所述确定模块440还可以适于:In a preferred embodiment of the present invention, the client may have permission information corresponding to the processing service object, and the determining module 440 may further be configured to:
依据当前的配置概率确定用于处理所述请求的第三方平台及其对应的,且具有权限信息的一个或多个客户端。A third party platform for processing the request and its corresponding one or more clients having rights information are determined according to the current configuration probability.
在本发明的一种优选实施例中,所述业务对象可以包括型号信息和版本信息,所述确定模块440还可以适于:In a preferred embodiment of the present invention, the service object may include model information and version information, and the determining module 440 may further be configured to:
确定用于处理指定请求的当前第三方平台及其对应的一个或多个客户端;Determining the current third-party platform and its corresponding one or more clients for processing the specified request;
其中,所述指定请求包括对指定型号信息和指定版本信息的原始业务对象的处理请求;所述第三方平台的配置概率可以为1。The specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform may be 1.
在本发明的一种优选实施例中,所述第三方平台可以包括出票商,所述客户端可以包括出票员。 In a preferred embodiment of the invention, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
参照图17,示出了根据本发明一个实施例的一种基于第三方平台的处理业务对象的***实施例5的结构框图,所述第三方平台可以具有主账号和主参数,一个或多个客户端可以与所述第三方平台相连,所述***可以包括如下模块:Referring to FIG. 17, there is shown a structural block diagram of a system embodiment 5 for processing a service object based on a third-party platform, which may have a primary account number and a primary parameter, one or more, according to an embodiment of the present invention. The client can be connected to the third party platform, and the system can include the following modules:
第一接收模块510,适于接收原始业务对象;所述原始业务对象包括第一参数值;The first receiving module 510 is adapted to receive an original service object; the original service object includes a first parameter value;
第一划分模块520,适于当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分为一个或多个第一子业务对象;The first dividing module 520 is adapted to, when the original business object is verified to be legal, divide the original business object into one or more first sub-service objects according to the parameter value;
发送模块530,适于将所述一个或多个第一子业务对象发送至客户端;所述客户端用于将所述第一子业务对象划分为一个或多个第二子业务对象,将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。The sending module 530 is adapted to send the one or more first sub-service objects to the client; the client is configured to divide the first sub-service object into one or more second sub-service objects, The one or more second sub-service objects are sent to a third-party platform; the third-party platform is configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object.
在本发明的一种优选实施例中,所述第一参数值可以包括第一倍率信息和/或第一数量信息;In a preferred embodiment of the present invention, the first parameter value may include first rate information and/or first quantity information;
所述第一子业务对象可以包括第二参数值;所述第二参数值可以包括第二倍率信息和/或第二数量信息;The first sub-service object may include a second parameter value; the second parameter value may include second rate information and/or second quantity information;
所述第二倍率信息的乘积可以等于所述第一倍率信息;The product of the second magnification information may be equal to the first magnification information;
所述第二数量信息的和可以等于所述第一数量信息。The sum of the second quantity information may be equal to the first quantity information.
在本发明的一种优选实施例中,所述第一发送模块还可以适于:In a preferred embodiment of the present invention, the first sending module may further be adapted to:
依据所述配置概率确定用于处理所述第一子业务对象的当前第三方平台及其对应的一个或多个客户端;Determining, according to the configuration probability, a current third-party platform for processing the first sub-service object and one or more corresponding clients thereof;
将所述第一子业务对象发送至所述一个或多个客户端。Sending the first sub-service object to the one or more clients.
在本发明的一种优选实施例中,所有第三方平台对应的配置概率之和可以为1。In a preferred embodiment of the present invention, the sum of the configuration probabilities corresponding to all third party platforms may be one.
在本发明的一种优选实施例中,所述***还可以包括如下模块:In a preferred embodiment of the invention, the system may further comprise the following modules:
第一更改模块,适于将所述第二子业务对象的状态更改为处理中状态。 The first change module is adapted to change the state of the second sub-business object to an in-process state.
在本发明的一种优选实施例中,所述***还可以包括如下模块:In a preferred embodiment of the invention, the system may further comprise the following modules:
第二更改模块,适于在接收到所述客户端发送的生成目标业务对象的信息时,将所述目标业务对象对应的第二子业务对象的状态更改为完成状态。The second change module is adapted to change the state of the second sub-service object corresponding to the target service object to a completion state when receiving the information of the target service object sent by the client.
在本发明的一种优选实施例中,所述***还可以包括如下模块:In a preferred embodiment of the invention, the system may further comprise the following modules:
返回模块,适于在所有第二子业务对象的状态全部为完成状态时,返回原始业务对象完成处理的信息。The return module is configured to return information that the original business object completes processing when all the states of the second sub-business object are in a completed state.
在本发明的一种优选实施例中,所述***还可以包括如下模块:In a preferred embodiment of the invention, the system may further comprise the following modules:
获取模块,适于在所述完成状态更改失败时,从所述第三方平台获取所述第二子业务对象的处理结果;所述处理结果包括处理失败;An obtaining module, configured to acquire, from the third-party platform, a processing result of the second sub-service object when the completion status change fails; the processing result includes a processing failure;
对比模块,适于将所述第二子业务对象与所述原始业务对象进行对比,获得未进行处理的第二子业务对象;a comparison module, configured to compare the second sub-business object with the original business object to obtain a second sub-service object that is not processed;
第二发送模块,适于将所述处理失败和未进行处理的第二子业务对象发送至所述第三方平台;所述第三方平台用于重新采用所述账号、所述权限数据和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。a second sending module, configured to send the processed and failed second sub-service object to the third-party platform; the third-party platform is configured to re-apply the account, the privilege data, and the The second sub-business object that has failed to process and is not processed generates a target business object.
在本发明的一种优选实施例中,所述第三方平台可以包括出票商,所述客户端可以包括出票员。In a preferred embodiment of the invention, the third party platform may include a ticket voucher, and the client may include a ticket clerk.
参照图18,示出了根据本发明一个实施例的一种基于第三方平台的处理业务对象的***实施例6的结构框图,所述第三方平台可以具有主账号和主参数,一个或多个客户端可以与所述第三方平台相连,所述***可以包括如下模块:Referring to FIG. 18, it is a structural block diagram of a system embodiment 6 for processing a service object based on a third-party platform, which may have a primary account number and a primary parameter, one or more, according to an embodiment of the present invention. The client can be connected to the third party platform, and the system can include the following modules:
第二接收模块610,适于接收第一子业务对象;所述第一子业务对象为接收原始业务对象,所述原始业务对象包括第一参数值,当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分的一个或多个第一子业务对象;The second receiving module 610 is adapted to receive the first sub-service object; the first sub-service object is to receive the original service object, where the original service object includes a first parameter value, when the original business object is verified to be legal, according to The parameter value divides one or more first sub-service objects of the original business object;
第二划分模块620,适于将所述第一子业务对象划分为一个或多个第 二子业务对象;a second dividing module 620, configured to divide the first sub-service object into one or more Two sub-business objects;
发送模块630,适于将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。The sending module 630 is configured to send the one or more second sub-service objects to a third-party platform, where the third-party platform is configured to generate by using the primary account, the primary parameter, and the second sub-service object Target business object.
在本发明的一种优选实施例中,所述***还可以包括如下模块:In a preferred embodiment of the invention, the system may further comprise the following modules:
第三接收模块,适于接收处理失败和未进行处理的第二子业务对象;a third receiving module, configured to receive a second sub-service object that fails to process and is not processed;
第四发送模块,适于将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。a fourth sending module, configured to send the second sub-service object that fails to be processed to the third-party platform; the third-party platform is configured to adopt the main account, the main parameter, and the processing fails And the second sub-business object that is not processed generates a target business object.
对于***实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于第三方平台的业务对象的处理设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some microprocessors or digital signal processors (DSPs) may be used in practice to implement some or all of the components of a third party platform based business object processing device in accordance with an embodiment of the present invention. Or all features. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图19示出了可以实现根据本发明的基于第三方平台的业务对象的处理服务器,例如应用服务器。该服务器传统上包括处理器1910和以存储器1920形式的计算机程序产品或者计算机可读介质。存储器1920可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1920具有用于执行上述方法中的任何方法步骤的程序代码1931的存储空间1930。例如,用于程序代码的存储空间1930可以包括分别用于实现上面的方法中的各种步骤的各个 程序代码1931。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图20所述的便携式或者固定存储单元。该存储单元可以具有与图19的服务器中的存储器1920类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码2031’,即可以由例如诸如1910之类的处理器读取的代码,这些代码当由服务器运行时,导致该服务器执行上面所描述的方法中的各个步骤。For example, FIG. 19 illustrates a processing server, such as an application server, that can implement a third party platform based business object in accordance with the present invention. The server conventionally includes a processor 1910 and a computer program product or computer readable medium in the form of a memory 1920. The memory 1920 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM. Memory 1920 has a memory space 1930 for program code 1931 for performing any of the method steps described above. For example, storage space 1930 for program code may include separate implementations for implementing the various steps in the above methods, respectively. Program code 1931. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. The storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1920 in the server of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit includes computer readable code 2031', code that can be read by, for example, a processor such as 1910, which when executed by the server causes the server to perform various steps in the methods described above.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。"an embodiment," or "an embodiment," or "an embodiment," In addition, it is noted that the phrase "in one embodiment" is not necessarily referring to the same embodiment.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在 不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。 In addition, it should be noted that the language used in the specification has been selected for the purpose of readability and teaching, and is not intended to be construed or limited. Thus, in Numerous modifications and changes will be apparent to those skilled in the art without departing from the scope of the appended claims. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.

Claims (72)

  1. 一种基于第三方平台的业务对象的处理方法,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;A method for processing a business object based on a third-party platform, the main platform is connected to one or more third-party platforms, and the third-party platform stores a main account of the main platform, where the main account includes a main parameter. The third-party platform is connected to an operation platform, where the operation platform stores one or more third-party accounts on the third-party platform, the third-party account includes third-party parameters, and the operation platform includes one or more a client and a control center managing the one or more clients, the client retaining its sub-account on the operating platform, the sub-account including sub-parameters;
    所述方法包括:The method includes:
    接收原始业务对象的处理请求;Receiving a processing request of the original business object;
    将所述处理请求发送至所述一个或多个客户端。The processing request is sent to the one or more clients.
  2. 如权利要求1所述的方法,其特征在于,所述处理请求中包括参数变量,则所述一个或多个客户端用于采用所述第三方账号将所述处理请求发送至所述第三方平台;所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;所述方法还包括:The method of claim 1, wherein the processing request includes a parameter variable, and the one or more clients are configured to send the processing request to the third party by using the third party account The platform is configured to send the processing request to the main platform by using the primary account, and adjust the third-party parameters of the third-party account by using the parameter variable; And adjusting, by using the parameter variable, a primary parameter of the primary account; the method further includes:
    采用所述参数变量对所述子账号的子参数进行调整。The sub-parameters of the sub-account are adjusted by using the parameter variable.
  3. 如权利要求2所述的方法,其特征在于,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。The method of claim 2 wherein the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  4. 如权利要求2所述的方法,其特征在于,所述将所述处理请求发送至所述一个或多个客户端的步骤包括:The method of claim 2 wherein said step of transmitting said processing request to said one or more clients comprises:
    依据预示的配置概率确定用于处理所述处理请求的当前第三方平台及其对应的一个或多个客户端;Determining a current third-party platform for processing the processing request and its corresponding one or more clients according to the predicted configuration probability;
    将所述处理请求发送至所述一个或多个客户端。The processing request is sent to the one or more clients.
  5. 如权利要求2所述的方法,其特征在于,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。The method according to claim 2, wherein the processing request further comprises an original business object, and the main platform is further configured to generate the target business object by using the original business object.
  6. 如权利要求2所述的方法,其特征在于,还包括: The method of claim 2, further comprising:
    当所述子账号的子参数小于预设阈值时,生成警报信息。When the sub-parameter of the sub-account is less than a preset threshold, an alarm information is generated.
  7. 如权利要求1所述的方法,其特征在于,所述第三方平台还保存有针对业务对象的第一截止时间和配置概率,至少一个第三方平台具有针对该业务对象的第二截止时间;在所述接收原始业务对象的处理请求的步骤之前,还包括:The method of claim 1, wherein the third party platform further stores a first deadline and a configuration probability for the business object, the at least one third party platform having a second deadline for the business object; Before the step of receiving the processing request of the original service object, the method further includes:
    当到达所述第二截止时间时,将所述第二截止时间对应的第三方平台的配置概率设置为低于预设阈值的比例;所述第二截止时间小于或等于所述第一截止时间;When the second deadline is reached, setting a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold; the second deadline is less than or equal to the first deadline ;
    将其他第三方平台的配置概率进行对应的调整;Adjust the configuration probabilities of other third-party platforms accordingly;
    所述将所述处理请求发送至所述一个或多个客户端的步骤包括:The step of sending the processing request to the one or more clients includes:
    依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的一个或多个客户端;Determining, by the current configuration probability, a third-party platform for processing the processing request and one or more corresponding clients thereof;
    将所述第一业务对象发送至所述一个或多个客户端;所述一个或多个客户端用于按照所述第三方平台预设的接口参数将所述第一业务对象生成第二业务对象,将所述第二业务对象发送至所述第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二业务对象生成目标业务对象。Sending the first service object to the one or more clients; the one or more clients are configured to generate the second service according to the interface parameter preset by the third-party platform And the third service platform is configured to generate the target service object by using the primary account, the primary parameter, and the second service object.
  8. 如权利要求7所述的方法,其特征在于,所有所述第三方平台的配置概率之和为0或1。The method of claim 7 wherein the sum of the configuration probabilities of all of said third party platforms is zero or one.
  9. 如权利要求7所述的方法,其特征在于,所述客户端具有处理原始业务对象对应的权限信息,所述依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的一个或多个客户端的步骤包括:The method according to claim 7, wherein the client has rights information corresponding to the original service object, and the third-party platform for processing the processing request and its corresponding information are determined according to the current configuration probability. The steps of one or more clients include:
    依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的,且具有权限信息的一个或多个客户端。Determining, according to the current configuration probability, a third-party platform for processing the processing request and its corresponding one or more clients having rights information.
  10. 如权利要求7所述的方法,其特征在于,所述原始业务对象包括型号信息和版本信息,所述依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的一个或多个客户端的步骤包括:The method according to claim 7, wherein the original service object includes model information and version information, and the third-party platform for processing the processing request and a corresponding one or The steps for multiple clients include:
    确定用于处理指定请求的当前第三方平台及其对应的一个或多个客 户端;Determining the current third-party platform for processing the specified request and its corresponding one or more guests Account
    其中,所述指定请求包括对指定型号信息和指定版本信息的原始业务对象的处理请求;所述第三方平台的配置概率为1。The specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform is 1.
  11. 如权利要求1所述的方法,其特征在于,所述原始业务对象包括第一参数值;所述将所述处理请求发送至所述一个或多个客户端的步骤包括:The method of claim 1 wherein said original business object comprises a first parameter value; said step of transmitting said processing request to said one or more clients comprises:
    当检验所述原始业务对象合法时,按照所述第一参数值将所述原始业务对象划分为一个或多个第一子业务对象;When the original business object is verified to be legal, the original business object is divided into one or more first sub-service objects according to the first parameter value;
    将所述一个或多个第一子业务对象发送至客户端;所述客户端用于将所述第一子业务对象划分为一个或多个第二子业务对象,将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。Transmitting the one or more first sub-service objects to a client; the client is configured to divide the first sub-service object into one or more second sub-service objects, and the one or more The second sub-service object is sent to the third-party platform; the third-party platform is configured to generate the target service object by using the main account, the main parameter, and the second sub-service object.
  12. 如权利要求11所述的方法,其特征在于,所述第一参数值包括第一倍率信息和/或第一数量信息;The method of claim 11, wherein the first parameter value comprises first rate information and/or first quantity information;
    所述第一子业务对象包括第二参数值;所述第二参数值包括第二倍率信息和/或第二数量信息;The first sub-service object includes a second parameter value; the second parameter value includes second magnification information and/or second quantity information;
    所述第二倍率信息的乘积等于所述第一倍率信息;The product of the second magnification information is equal to the first magnification information;
    所述第二数量信息的和等于所述第一数量信息。The sum of the second quantity information is equal to the first quantity information.
  13. 如权利要求11所述的方法,其特征在于,所述将所述一个或多个第一子业务对象发送至客户端的步骤包括:The method of claim 11, wherein the step of transmitting the one or more first sub-service objects to the client comprises:
    依据所述配置概率确定用于处理所述第一子业务对象的当前第三方平台及其对应的一个或多个客户端;Determining, according to the configuration probability, a current third-party platform for processing the first sub-service object and one or more corresponding clients thereof;
    将所述第一子业务对象发送至所述一个或多个客户端。Sending the first sub-service object to the one or more clients.
  14. 如权利要求13所述的方法,其特征在于,所有第三方平台对应的配置概率之和为1。The method of claim 13 wherein the sum of the configuration probabilities corresponding to all of the third party platforms is one.
  15. 如权利要求11所述的方法,其特征在于,还包括:The method of claim 11 further comprising:
    将所述第二子业务对象的状态更改为处理中状态。Change the state of the second child business object to the in-process state.
  16. 如权利要求15所述的方法,其特征在于,还包括: The method of claim 15 further comprising:
    当接收到所述客户端发送的生成目标业务对象的信息时,将所述目标业务对象对应的第二子业务对象的状态更改为完成状态。And when the information about the generated target business object sent by the client is received, the state of the second sub-service object corresponding to the target business object is changed to a completion state.
  17. 如权利要求16所述的方法,其特征在于,还包括:The method of claim 16 further comprising:
    当所有第二子业务对象的状态全部为完成状态时,返回原始业务对象完成处理的信息。When the status of all the second sub-business objects is all completed, the information of the original business object completion processing is returned.
  18. 如权利要求16所述的方法,其特征在于,还包括:The method of claim 16 further comprising:
    当所述完成状态更改失败时,从所述第三方平台获取所述第二子业务对象的处理结果;所述处理结果包括处理失败;Obtaining, by the third-party platform, a processing result of the second sub-service object when the completion status change fails; the processing result includes a processing failure;
    将所述第二子业务对象与所述原始业务对象进行对比,获得未进行处理的第二子业务对象;Comparing the second sub-business object with the original business object to obtain a second sub-service object that is not processed;
    将所述处理失败和未进行处理的第二子业务对象发送至客户端;所述客户端用于将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。Sending, to the client, the second sub-service object that fails to be processed and sent to the client; the client is configured to send the second sub-service object that fails to be processed to the third-party platform; The three-party platform is configured to generate the target business object by using the primary account, the primary parameter, and the second sub-service object that fails to process and is not processed.
  19. 如权利要求1-18任一项所述的方法,其特征在于,所述第三方平台包括出票商,所述客户端包括出票员。The method of any of claims 1 to 18, wherein the third party platform comprises a ticket voucher, the client comprising a ticket clerk.
  20. 一种基于第三方平台的业务对象的处理方法,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;A method for processing a business object based on a third-party platform, the main platform is connected to one or more third-party platforms, and the third-party platform stores a main account of the main platform, where the main account includes a main parameter. The third-party platform is connected to an operation platform, where the operation platform stores one or more third-party accounts on the third-party platform, the third-party account includes third-party parameters, and the operation platform includes one or more a client and a control center managing the one or more clients, the client retaining its sub-account on the operating platform, the sub-account including sub-parameters;
    所述方法包括:The method includes:
    接收控制中心发送的原始业务对象的处理请求;Receiving a processing request of an original business object sent by the control center;
    采用所述第三方账号将所述处理请求发送至所述第三方平台。The processing request is sent to the third party platform by using the third party account.
  21. 如权利要求20所述的方法,其特征在于,所述处理请求中包括 参数变量,则所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整。The method of claim 20 wherein said processing request includes a parameter variable, the third-party platform is configured to send the processing request to the main platform by using the primary account, and adjust, by using the parameter variable, a third-party parameter of the third-party account; The main platform is configured to adjust the main parameter of the primary account by using the parameter variable.
  22. 如权利要求21所述的方法,其特征在于,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。The method of claim 21 wherein the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  23. 如权利要求21所述的方法,其特征在于,所述采用所述第三方账号将所述处理请求发送至所述第三方平台的步骤包括:The method of claim 21, wherein the step of transmitting the processing request to the third party platform by using the third party account comprises:
    按照预设的接口参数采用所述第三方账号将所述处理请求发送至所述第三方平台。The processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
  24. 如权利要求23所述的方法,其特征在于,所述接口参数包括以下的一种或多种:The method of claim 23 wherein said interface parameters comprise one or more of the following:
    第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
  25. 如权利要求21所述的方法,其特征在于,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。The method according to claim 21, wherein the processing request further comprises an original business object, and the main platform is further configured to generate the target business object by using the original business object.
  26. 如权利要求21所述的方法,其特征在于,所述处理请求中包括第一子业务对象,所述第一子业务对象为接收原始业务对象,所述原始业务对象包括第一参数值,当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分的一个或多个第一子业务对象;所述采用所述第三方账号将所述处理请求发送至所述第三方平台的步骤包括包括:The method according to claim 21, wherein the processing request includes a first sub-service object, the first sub-service object is a receiving original service object, and the original service object includes a first parameter value, when And verifying, when the original business object is legal, dividing the original business object into one or more first sub-service objects according to the parameter value; and sending, by using the third-party account, the processing request to the first The steps of the three-party platform include:
    将所述第一子业务对象划分为一个或多个第二子业务对象;Dividing the first sub-service object into one or more second sub-service objects;
    将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。And sending the one or more second sub-service objects to a third-party platform; the third-party platform is configured to generate a target service object by using the primary account, the primary parameter, and the second sub-service object.
  27. 如权利要求26所述的方法,其特征在于,还包括: The method of claim 26, further comprising:
    接收处理失败和未进行处理的第二子业务对象;Receiving a second sub-service object that failed to process and was not processed;
    将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。Transmitting the processed and unprocessed second sub-service object to a third-party platform; the third-party platform is configured to adopt the primary account, the primary parameter, and the processing failure and the second unprocessed The child business object generates the target business object.
  28. 如权利要求21-27任一项所述的方法,其特征在于,所述第三方平台包括出票商,所述客户端包括出票员。The method of any of claims 21-27, wherein the third party platform comprises a ticket voucher and the client comprises a ticket clerk.
  29. 一种基于第三方平台的业务对象的处理方法,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;A method for processing a business object based on a third-party platform, the main platform is connected to one or more third-party platforms, and the third-party platform stores a main account of the main platform, where the main account includes a main parameter. The third-party platform is connected to an operation platform, where the operation platform stores one or more third-party accounts on the third-party platform, the third-party account includes third-party parameters, and the operation platform includes one or more a client and a control center managing the one or more clients, the client retaining its sub-account on the operating platform, the sub-account including sub-parameters;
    所述方法包括:The method includes:
    接收所述一个或多个客户端发送的原始业务对象的处理请求;Receiving a processing request of the original business object sent by the one or more clients;
    采用所述主账号将所述处理请求发送至所述主平台。The processing request is sent to the main platform by using the primary account.
  30. 如权利要求29所述的方法,其特征在于,所述处理请求中包括参数变量;则所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;所述方法还包括:The method according to claim 29, wherein the processing request includes a parameter variable; and the main platform is configured to adjust a primary parameter of the primary account by using the parameter variable; :
    采用所述参数变量对所述第三方账号的第三方参数进行调整。The third-party parameters of the third-party account are adjusted by using the parameter variable.
  31. 如权利要求29所述的方法,其特征在于,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。The method of claim 29 wherein the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  32. 如权利要求29所述的方法,其特征在于,所述接收所述一个或多个客户端发送的原始业务对象的处理请求的步骤包括:The method of claim 29, wherein the step of receiving a processing request of the original business object sent by the one or more clients comprises:
    按照预设的接口参数接收所述一个或多个客户端发送的原始业务对象的处理请求。Receiving a processing request of the original business object sent by the one or more clients according to a preset interface parameter.
  33. 如权利要求32所述的方法,其特征在于,所述接口参数包括以 下的一种或多种:The method of claim 32 wherein said interface parameters comprise One or more of the following:
    第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
  34. 如权利要求30所述的方法,其特征在于,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。The method of claim 30, wherein the processing request further comprises an original business object, and the main platform is further configured to generate the target business object by using the original business object.
  35. 如权利要求29-34任一项所述的方法,其特征在于,所述第三方平台包括出票商,所述客户端包括出票员。A method according to any of claims 29-34, wherein the third party platform comprises a ticket voucher and the client comprises a ticket clerk.
  36. 一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;A processing system for a business object based on a third-party platform, the main platform is connected to one or more third-party platforms, and the third-party platform stores a main account of the main platform, where the main account includes a main parameter. The third-party platform is connected to an operation platform, where the operation platform stores one or more third-party accounts on the third-party platform, the third-party account includes third-party parameters, and the operation platform includes one or more a client and a control center managing the one or more clients, the client retaining its sub-account on the operating platform, the sub-account including sub-parameters;
    所述***包括:The system includes:
    第一接收模块,适于接收原始业务对象的处理请求a first receiving module, adapted to receive a processing request of an original business object
    第一发送模块,适于将所述处理请求发送至所述一个或多个客户端。The first sending module is adapted to send the processing request to the one or more clients.
  37. 如权利要求36所述的***,其特征在于,所述处理请求中包括参数变量,则所述一个或多个客户端用于采用所述第三方账号将所述处理请求发送至所述第三方平台;所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;所述***还包括:The system according to claim 36, wherein said processing request includes a parameter variable, and said one or more clients are configured to send said processing request to said third party using said third party account The platform is configured to send the processing request to the main platform by using the primary account, and adjust the third-party parameters of the third-party account by using the parameter variable; And adjusting the main parameter of the primary account by using the parameter variable; the system further includes:
    第一调整模块,适于采用所述参数变量对所述子账号的子参数进行调整。The first adjustment module is adapted to adjust the sub-parameters of the sub-account by using the parameter variable.
  38. 如权利要求37所述的***,其特征在于,针对同一个第三方平 台的所有子参数之和等于对应的第三方账号的第三方参数。The system of claim 37, wherein the same third party is flat The sum of all sub-parameters of the station is equal to the third-party parameter of the corresponding third-party account.
  39. 如权利要求37所述的***,其特征在于,所述第一发送模块还适于:The system of claim 37, wherein the first transmitting module is further adapted to:
    依据预示的配置概率确定用于处理所述处理请求的当前第三方平台及其对应的一个或多个客户端;Determining a current third-party platform for processing the processing request and its corresponding one or more clients according to the predicted configuration probability;
    将所述处理请求发送至所述一个或多个客户端。The processing request is sent to the one or more clients.
  40. 如权利要求37所述的***,其特征在于,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。The system according to claim 37, wherein the processing request further comprises an original business object, and the main platform is further configured to generate the target business object by using the original business object.
  41. 如权利要求37所述的***,其特征在于,还包括:The system of claim 37, further comprising:
    警报模块,适于当所述子账号的子参数小于预设阈值时,生成警报信息。The alarm module is configured to generate alarm information when the sub-parameter of the sub-account is less than a preset threshold.
  42. 如权利要求33所述的***,其特征在于,所述第三方平台还保存有针对业务对象的第一截止时间和配置概率,至少一个第三方平台具有针对该业务对象的第二截止时间,所述***还包括:The system of claim 33, wherein the third party platform further stores a first deadline and a configuration probability for the business object, the at least one third party platform having a second deadline for the business object, The system also includes:
    第一调整模块,适于在到达所述第二截止时间时,将所述第二截止时间对应的第三方平台的配置概率设置为低于预设阈值的比例;所述第二截止时间小于或等于所述第一截止时间;The first adjustment module is configured to set a configuration probability of the third-party platform corresponding to the second deadline to a ratio lower than a preset threshold when the second deadline is reached; the second deadline is less than or Equal to the first deadline;
    第二调整模块,适于将其他第三方平台的配置概率进行对应的调整;a second adjustment module, configured to adjust corresponding configuration probabilities of other third-party platforms;
    所述第一发送模块包括:The first sending module includes:
    确定模块,适于依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的一个或多个客户端;a determining module, configured to determine, according to a current configuration probability, a third-party platform for processing the processing request and one or more corresponding clients thereof;
    发送模块,适于将所述第一业务对象发送至所述一个或多个客户端;所述一个或多个客户端用于按照所述第三方平台预设的接口参数将所述第一业务对象生成第二业务对象,将所述第二业务对象发送至所述第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二业务对象生成目标业务对象。a sending module, configured to send the first service object to the one or more clients; the one or more clients are configured to use the first service according to an interface parameter preset by the third-party platform The object generates a second business object, and sends the second business object to the third-party platform; the third-party platform is configured to generate a target business object by using the primary account, the primary parameter, and the second business object .
  43. 如权利要求42所述的***,其特征在于,所有所述第三方平台 的配置概率之和为0或1。The system of claim 42 wherein all of said third party platforms The sum of the configuration probabilities is 0 or 1.
  44. 如权利要求42所述的***,其特征在于,所述客户端具有处理原始业务对象对应的权限信息,所述第一发送模块还适于:The system of claim 42, wherein the client has permission information corresponding to the original service object, and the first sending module is further adapted to:
    依据当前的配置概率确定用于处理所述处理请求的第三方平台及其对应的,且具有权限信息的一个或多个客户端。Determining, according to the current configuration probability, a third-party platform for processing the processing request and its corresponding one or more clients having rights information.
  45. 如权利要求42所述的***,其特征在于,所述原始业务对象包括型号信息和版本信息,所述第一发送模块还适于:The system according to claim 42, wherein the original service object includes model information and version information, and the first sending module is further adapted to:
    确定用于处理指定请求的当前第三方平台及其对应的一个或多个客户端;Determining the current third-party platform and its corresponding one or more clients for processing the specified request;
    其中,所述指定请求包括对指定型号信息和指定版本信息的原始业务对象的处理请求;所述第三方平台的配置概率为1。The specified request includes a processing request for the specified model information and the original service object of the specified version information; the configuration probability of the third-party platform is 1.
  46. 如权利要求33所述的***,其特征在于,所述处理请求中还包括原始业务对象,所述原始业务对象包括第一参数值;所述第一发送模块包括:The system of claim 33, wherein the processing request further comprises an original service object, the original service object comprising a first parameter value; the first sending module comprises:
    第一划分模块,适于检验所述原始业务对象合法时,按照所述第一参数值将所述原始业务对象划分为一个或多个第一子业务对象;a first dividing module, configured to: when the original business object is verified to be legal, divide the original business object into one or more first sub-service objects according to the first parameter value;
    发送模块,适于将所述一个或多个第一子业务对象发送至客户端;所述客户端用于将所述第一子业务对象划分为一个或多个第二子业务对象,将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。a sending module, configured to send the one or more first sub-service objects to a client; the client is configured to divide the first sub-service object into one or more second sub-service objects, Transmitting the one or more second sub-service objects to the third-party platform; the third-party platform is configured to generate the target service object by using the main account, the main parameter, and the second sub-service object.
  47. 如权利要求46所述的***,其特征在于,所述第一参数值包括第一倍率信息和/或第一数量信息;The system of claim 46, wherein the first parameter value comprises first rate information and/or first quantity information;
    所述第一子业务对象包括第二参数值;所述第二参数值包括第二倍率信息和/或第二数量信息;The first sub-service object includes a second parameter value; the second parameter value includes second magnification information and/or second quantity information;
    所述第二倍率信息的乘积等于所述第一倍率信息;The product of the second magnification information is equal to the first magnification information;
    所述第二数量信息的和等于所述第一数量信息。The sum of the second quantity information is equal to the first quantity information.
  48. 如权利要求46所述的***,其特征在于,所述第一发送模块还 适于:The system of claim 46, wherein said first transmitting module further Suitable for:
    依据所述配置概率确定用于处理所述第一子业务对象的当前第三方平台及其对应的一个或多个客户端;Determining, according to the configuration probability, a current third-party platform for processing the first sub-service object and one or more corresponding clients thereof;
    将所述第一子业务对象发送至所述一个或多个客户端。Sending the first sub-service object to the one or more clients.
  49. 如权利要求48所述的***,其特征在于,所有第三方平台对应的配置概率之和为1。The system of claim 48, wherein the sum of the configuration probabilities corresponding to all of the third party platforms is one.
  50. 如权利要求46所述的***,其特征在于,还包括:The system of claim 46, further comprising:
    第一更改模块,适于将所述第二子业务对象的状态更改为处理中状态。The first change module is adapted to change the state of the second sub-business object to an in-process state.
  51. 如权利要求50所述的***,其特征在于,还包括:The system of claim 50, further comprising:
    第二更改模块,适于在接收到所述客户端发送的生成目标业务对象的信息时,将所述目标业务对象对应的第二子业务对象的状态更改为完成状态。The second change module is adapted to change the state of the second sub-service object corresponding to the target service object to a completion state when receiving the information of the target service object sent by the client.
  52. 如权利要求51所述的***,其特征在于,还包括:The system of claim 51, further comprising:
    返回模块,适于在所有第二子业务对象的状态全部为完成状态时,返回原始业务对象完成处理的信息。The return module is configured to return information that the original business object completes processing when all the states of the second sub-business object are in a completed state.
  53. 如权利要求51所述的***,其特征在于,还包括:The system of claim 51, further comprising:
    获取模块,适于在所述完成状态更改失败时,从所述第三方平台获取所述第二子业务对象的处理结果;所述处理结果包括处理失败;An obtaining module, configured to acquire, from the third-party platform, a processing result of the second sub-service object when the completion status change fails; the processing result includes a processing failure;
    对比模块,适于将所述第二子业务对象与所述原始业务对象进行对比,获得未进行处理的第二子业务对象;a comparison module, configured to compare the second sub-business object with the original business object to obtain a second sub-service object that is not processed;
    第二发送模块,适于将所述处理失败和未进行处理的第二子业务对象发送至客户端;所述客户端用于将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。a second sending module, configured to send the processed and unprocessed second sub-service object to the client; the client is configured to send the processed and unprocessed second sub-service object to a third-party platform; the third-party platform is configured to generate a target business object by using the primary account, the primary parameter, and the second sub-service object that fails to process and is not processed.
  54. 如权利要求36-51任一项所述的方法,其特征在于,所述业务对象包括彩票数据,所述第三方平台包括出票商,所述客户端包括出票员。 The method of any of claims 36-51, wherein the business object comprises lottery data, the third party platform comprises a ticket voucher, and the client comprises a ticket clerk.
  55. 一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;A processing system for a business object based on a third-party platform, the main platform is connected to one or more third-party platforms, and the third-party platform stores a main account of the main platform, where the main account includes a main parameter. The third-party platform is connected to an operation platform, where the operation platform stores one or more third-party accounts on the third-party platform, the third-party account includes third-party parameters, and the operation platform includes one or more a client and a control center managing the one or more clients, the client retaining its sub-account on the operating platform, the sub-account including sub-parameters;
    所述***包括:The system includes:
    第二接收模块,适于接收控制中心发送的原始业务对象的处理请求;a second receiving module, configured to receive a processing request of an original service object sent by the control center;
    第二发送模块,适于采用所述第三方账号将所述处理请求发送至所述第三方平台。The second sending module is adapted to send the processing request to the third-party platform by using the third-party account.
  56. 如权利要求55所述的***,其特征在于,所述处理请求中包括参数变量,则所述第三方平台用于采用所述主账号将所述处理请求发送至所述主平台,以及,采用所述参数变量对所述第三方账号的第三方参数进行调整;所述主平台用于采用所述参数变量对所述主账号的主参数进行调整。The system according to claim 55, wherein the processing request includes a parameter variable, and the third-party platform is configured to send the processing request to the main platform by using the primary account, and adopt The parameter variable adjusts a third-party parameter of the third-party account; the master platform is configured to adjust a primary parameter of the primary account by using the parameter variable.
  57. 如权利要求56所述的***,其特征在于,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。The system of claim 56 wherein the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  58. 如权利要求56所述的***,其特征在于,所述第二发送模块还适于:The system of claim 56, wherein the second transmitting module is further adapted to:
    按照预设的接口参数采用所述第三方账号将所述处理请求发送至所述第三方平台。The processing request is sent to the third-party platform by using the third-party account according to a preset interface parameter.
  59. 如权利要求58所述的***,其特征在于,所述接口参数包括以下的一种或多种:The system of claim 58 wherein said interface parameters comprise one or more of the following:
    第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
  60. 如权利要求56所述的***,其特征在于,所述处理请求中包括 原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。A system according to claim 56, wherein said processing request includes The original business object, the main platform is further configured to generate a target business object by using the original business object.
  61. 如权利要求55所述的***,其特征在于,所述处理请求中包括第一子业务对象,所述第一子业务对象为接收原始业务对象,所述原始业务对象包括第一参数值,当检验所述原始业务对象合法时,按照所述参数值将所述原始业务对象划分的一个或多个第一子业务对象;,所述第二发送模块包括:The system according to claim 55, wherein said processing request includes a first sub-service object, said first sub-service object is a receiving original business object, and said original business object includes a first parameter value, when And verifying, when the original business object is legal, dividing the original business object into one or more first sub-service objects according to the parameter value; and the second sending module includes:
    第二划分模块,适于将所述第一子业务对象划分为一个或多个第二子业务对象;a second dividing module, configured to divide the first sub-service object into one or more second sub-service objects;
    发送模块,适于将所述一个或多个第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述第二子业务对象生成目标业务对象。a sending module, configured to send the one or more second sub-service objects to a third-party platform, where the third-party platform is configured to generate a target by using the primary account, the primary parameter, and the second sub-service object Business object.
  62. 如权利要求61所述的***,其特征在于,所述***还包括:The system of claim 61, wherein the system further comprises:
    第三接收模块,适于接收处理失败和未进行处理的第二子业务对象;a third receiving module, configured to receive a second sub-service object that fails to process and is not processed;
    第四发送模块,适于将所述处理失败和未进行处理的第二子业务对象发送至第三方平台;所述第三方平台用于采用所述主账号、所述主参数和所述处理失败和未进行处理的第二子业务对象生成目标业务对象。a fourth sending module, configured to send the second sub-service object that fails to be processed to the third-party platform; the third-party platform is configured to adopt the main account, the main parameter, and the processing fails And the second sub-business object that is not processed generates a target business object.
  63. 如权利要求55-62任一项所述的***,其特征在于,所述第三方平台包括出票商,所述客户端包括出票员。A system according to any of claims 55-62, wherein said third party platform comprises a ticket voucher, said client comprising a ticket clerk.
  64. 一种基于第三方平台的业务对象的处理***,主平台与一个或多个第三方平台相连,所述第三方平台保存有其在所述主平台的主账号,所述主账号包括主参数,所述第三方平台与运营平台相连,所述运营平台保存有其在所述第三方平台的一个或多个第三方账号,所述第三方账号包括第三方参数,所述运营平台包括一个或多个客户端及管理所述一个或多个客户端的控制中心,所述客户端保存有其在所述运营平台的子账号,所述子账号包括子参数;A processing system for a business object based on a third-party platform, the main platform is connected to one or more third-party platforms, and the third-party platform stores a main account of the main platform, where the main account includes a main parameter. The third-party platform is connected to an operation platform, where the operation platform stores one or more third-party accounts on the third-party platform, the third-party account includes third-party parameters, and the operation platform includes one or more a client and a control center managing the one or more clients, the client retaining its sub-account on the operating platform, the sub-account including sub-parameters;
    所述***包括: The system includes:
    第三接收模块,适于接收所述一个或多个客户端发送的原始业务对象的处理请求;a third receiving module, configured to receive a processing request of the original service object sent by the one or more clients;
    第三发送模块,适于采用所述主账号将所述处理请求发送至所述主平台。The third sending module is adapted to send the processing request to the main platform by using the primary account.
  65. 如权利要求64所述的***,其特征在于,所述处理请求中包括参数变量;则所述主平台用于采用所述参数变量对所述主账号的主参数进行调整;所述***还包括:The system according to claim 64, wherein said processing request includes a parameter variable; and said main platform is configured to adjust a primary parameter of said primary account using said parameter variable; said system further comprising :
    第二调整模块,适于采用所述参数变量对所述第三方账号的第三方参数进行调整。The second adjustment module is adapted to adjust the third-party parameters of the third-party account by using the parameter variable.
  66. 如权利要求65所述的***,其特征在于,针对同一个第三方平台的所有子参数之和等于对应的第三方账号的第三方参数。The system of claim 65, wherein the sum of all sub-parameters for the same third-party platform is equal to the third-party parameter of the corresponding third-party account.
  67. 如权利要求64所述的***,其特征在于,所述第三接收模块还适于:The system of claim 64, wherein the third receiving module is further adapted to:
    按照预设的接口参数接收所述一个或多个客户端发送的原始业务对象的处理请求。Receiving a processing request of the original business object sent by the one or more clients according to a preset interface parameter.
  68. 如权利要求67所述的***,其特征在于,所述接口参数包括以下的一种或多种:The system of claim 67 wherein said interface parameters comprise one or more of the following:
    第三方参数查询参数、第三方账号名称、接口地址、第三方账号编号、用户标识、密钥。Third-party parameter query parameters, third-party account name, interface address, third-party account number, user ID, and key.
  69. 如权利要求65所述的***,其特征在于,所述处理请求中还包括原始业务对象,所述主平台还用于采用所述原始业务对象生成目标业务对象。The system of claim 65, wherein the processing request further comprises an original business object, and the main platform is further configured to generate the target business object by using the original business object.
  70. 如权利要求64-69所述的***,其特征在于,所述第三方平台包括出票商,所述客户端包括出票员。A system according to claims 64-69, wherein said third party platform comprises a ticket voucher, said client comprising a ticket clerk.
  71. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在服务器上运行时,导致所述服务器执行根据权利要求1-35中的任一个所述的基于第三方平台的业务对象的处理方法。A computer program comprising computer readable code, when said computer readable code is run on a server, causing said server to perform a third party platform based business object according to any one of claims 1-35 Approach.
  72. 一种计算机可读介质,其中存储了如权利要求71所述的计算机程序。 A computer readable medium storing the computer program of claim 71.
PCT/CN2014/095953 2014-01-15 2014-12-31 Service object processing method and system based on third-party platform WO2015106632A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201410018256.5A CN103873558B (en) 2014-01-15 2014-01-15 The processing method of a kind of business object based on third-party platform and system
CN201410018240.4 2014-01-15
CN201410018256.5 2014-01-15
CN201410018258.4 2014-01-15
CN201410018240.4A CN103856557B (en) 2014-01-15 2014-01-15 The processing method of a kind of business object based on third-party platform and system
CN201410018258.4A CN103854196B (en) 2014-01-15 2014-01-15 The processing method of a kind of business object based on third-party platform and system

Publications (1)

Publication Number Publication Date
WO2015106632A1 true WO2015106632A1 (en) 2015-07-23

Family

ID=53542387

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095953 WO2015106632A1 (en) 2014-01-15 2014-12-31 Service object processing method and system based on third-party platform

Country Status (1)

Country Link
WO (1) WO2015106632A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110009464A (en) * 2018-11-23 2019-07-12 阿里巴巴集团控股有限公司 Across time zone method for processing business and server calculate equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209157A (en) * 2010-03-31 2011-10-05 上海博泰悦臻电子设备制造有限公司 Seat information processing system
CN102456196A (en) * 2010-10-20 2012-05-16 刘芳荣 Online wedding customized service method and online wedding customized service system
CN103854196A (en) * 2014-01-15 2014-06-11 北京奇虎科技有限公司 Business object processing method and system based on third-party platform
CN103856557A (en) * 2014-01-15 2014-06-11 北京奇虎科技有限公司 Business object processing method and system based on third-party platform
CN103873558A (en) * 2014-01-15 2014-06-18 北京奇虎科技有限公司 Processing method and system for business object based on third-party platforms

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209157A (en) * 2010-03-31 2011-10-05 上海博泰悦臻电子设备制造有限公司 Seat information processing system
CN102456196A (en) * 2010-10-20 2012-05-16 刘芳荣 Online wedding customized service method and online wedding customized service system
CN103854196A (en) * 2014-01-15 2014-06-11 北京奇虎科技有限公司 Business object processing method and system based on third-party platform
CN103856557A (en) * 2014-01-15 2014-06-11 北京奇虎科技有限公司 Business object processing method and system based on third-party platform
CN103873558A (en) * 2014-01-15 2014-06-18 北京奇虎科技有限公司 Processing method and system for business object based on third-party platforms

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110009464A (en) * 2018-11-23 2019-07-12 阿里巴巴集团控股有限公司 Across time zone method for processing business and server calculate equipment and storage medium
CN110009464B (en) * 2018-11-23 2023-05-12 蚂蚁金服(杭州)网络技术有限公司 Cross-time zone business processing method, server, computing device and storage medium

Similar Documents

Publication Publication Date Title
US10412060B2 (en) Token enrollment system and method
US20190114707A1 (en) Distribution of Blockchain Tokens
US20200012625A1 (en) System for implementing extended recognition mechanism in a distributed ledger node
JP2019520658A (en) Order information processing method, apparatus and system
US11138657B1 (en) Device-to-device microlending within a distributed system
US20180152429A1 (en) Systems and methods for publicly verifiable authorization
TW201624370A (en) Transaction Information Processing Method and Apparatus
WO2022262527A1 (en) Digital currency-based payment method, platform, terminal, and payment system
CN111030983A (en) Data processing method and device based on distributed distribution and related equipment
US9928549B2 (en) Methods and systems for expedited trading account funding
CN112381453A (en) Information processing method, information processing apparatus, electronic device, and medium
US20230169417A1 (en) Systems and Methods for Using a Semi-Fungible Digital Asset in a Supply Chain Ecosystem
US20210286649A1 (en) Processing future-dated resource reservation requests
CN107301550B (en) Acquisition method of credit information and establishment method and device of credit management and control rule
CN107018158B (en) Method and device for screening internet resources
US11308552B1 (en) Device-to-device microlending within a distributed system
WO2015106632A1 (en) Service object processing method and system based on third-party platform
CN107194712B (en) Method and device for recording change information of shared account and method and system for supplementing account of internal account
US20140074914A1 (en) Data Processing Method and System
US10366358B1 (en) Backlogged computing work exchange
CN113535774A (en) Service data processing method and device
US20200286163A1 (en) Intraday resource management system
US20230067630A1 (en) Systems and methods for handling transfers
CN114549123A (en) Service distribution method, device and equipment in distributed system
CN112581256A (en) Method, device, equipment and computer readable medium for processing credit line data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14879243

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14879243

Country of ref document: EP

Kind code of ref document: A1