CN108881107B - Distributed resource allocation method, device and system - Google Patents

Distributed resource allocation method, device and system Download PDF

Info

Publication number
CN108881107B
CN108881107B CN201710321080.4A CN201710321080A CN108881107B CN 108881107 B CN108881107 B CN 108881107B CN 201710321080 A CN201710321080 A CN 201710321080A CN 108881107 B CN108881107 B CN 108881107B
Authority
CN
China
Prior art keywords
standard format
format file
distributed resource
user
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710321080.4A
Other languages
Chinese (zh)
Other versions
CN108881107A (en
Inventor
杨友山
高霞
严丽平
黄德胤
江春雷
孙亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710321080.4A priority Critical patent/CN108881107B/en
Publication of CN108881107A publication Critical patent/CN108881107A/en
Application granted granted Critical
Publication of CN108881107B publication Critical patent/CN108881107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0209Architectural arrangements, e.g. perimeter networks or demilitarized zones
    • H04L63/0218Distributed architectures, e.g. distributed firewalls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a distributed resource allocation method, a device and a system, comprising the following steps: the first client responds to user input, generates user request data and uploads the user request data to a user information database; the user information database converts the user request data into a first standard format file, and uploads the first standard format file to a distributed resource configuration server through an isolation network; the distributed resource configuration server responds to the pulling of the distributed resource supply client and issues the first standard format file to the distributed resource supply client; and the distributed resource supply client acquires the first standard format file from the distributed resource configuration server and analyzes the first standard format file into a file style which can be identified by the distributed resource supply client.

Description

Distributed resource allocation method, device and system
Technical Field
The invention belongs to the field of intelligent Internet of things, and particularly relates to a distributed resource allocation method, device and system.
Background
When an enterprise purchases materials, a plurality of suppliers often exist, and the product types, models, prices and the like of different suppliers may be the same or different. How to uniformly manage the goods of the suppliers, which is clearly reflected in an enterprise purchasing system, is a problem faced by enterprise purchasing and enterprise logistics at present. In addition, the enterprise setting the entity warehouse for self-management can occupy space, needs manpower to maintain operation, and consumes a large amount of resources. The use of management systems such as ERP systems increases purchase costs, requires special technical personnel to operate and maintain, and increases labor costs.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a user equipment interaction method, a user equipment, and a user interaction system, where the technical scheme is as follows:
in a first aspect, a distributed resource allocation method is provided, which includes the following steps: the first client responds to user input, generates user request data and uploads the user request data to a user information database; the user information database converts the user request data into a first standard format file, and uploads the first standard format file to a distributed resource configuration server through an isolation network; the distributed resource configuration server responds to the pulling of the distributed resource supply client and issues the first standard format file to the distributed resource supply client; and the distributed resource supply client acquires the first standard format file from the distributed resource configuration server and analyzes the first standard format file into a file style which can be identified by the distributed resource supply client.
In a second aspect, a distributed resource allocation system is provided, the system comprising: the first client is used for responding to user input, generating user request data and uploading the user request data to a user information database; the user information database is used for converting the user request data into a first standard format file and uploading the first standard format file to the distributed resource configuration server through an isolation network; the distributed resource configuration server is used for responding to the pulling of the distributed resource supply client and issuing the first standard format file to the distributed resource supply client; and the distributed resource supply client is used for acquiring the first standard format file from the distributed resource configuration server and analyzing the first standard format file into a file style which can be identified by the distributed resource supply client.
In a third aspect, a distributed resource allocation method is provided, the method including: responding to user input, generating user request data, uploading the user request data to a user information database, so that the user information database converts the user request data into a first standard format file, and uploading the first standard format file to a distributed resource configuration server through an isolation network; the distributed resource supply client is used for acquiring the first standard format file from the distributed resource configuration server and analyzing the first standard format file into a file style which can be identified by the distributed resource supply client.
In a fourth aspect, a distributed resource allocation apparatus is provided, which includes a receiving module, configured to receive user input information; the request generation module is used for responding to user input and generating user request data; the request sending module is used for uploading the user request data to a user information database; converting the user request data in the user information database into a first standard format file, and uploading the first standard format file to a distributed resource configuration server through an isolation network; and the distributed resource supply server is used for acquiring the first standard format file and analyzing the first standard format file into a file format which can be identified by the distributed resource supply client.
The invention has the following beneficial effects: the technical scheme provided by the embodiment of the invention can directly map the resource data of all resource providers to the database of the resource demander, is favorable for uniformly allocating resources, and reduces the operation cost. The isolation network can ensure the information privacy and data safety of a data demand side and a data supply side, and the standardized format file can reduce the risks of malicious codes and SQL injection. The distributed server can further ensure the safety of the data and prevent the operation risk caused by the external interception of the resource demand data.
Drawings
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings;
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the invention;
FIG. 2 is a schematic diagram of another implementation environment provided by embodiments of the invention;
FIG. 3 is a flowchart of a distributed resource allocation method according to an embodiment of the present invention;
FIG. 4 is a flowchart of a distributed resource allocation method according to an embodiment of the present invention;
FIG. 5 is a functional block diagram of a straddle device provided by an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a distributed resource allocation apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a distributed resource allocation apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a distributed resource allocation apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic block diagram of a distributed resource allocation apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, an exemplary distributed resource allocation system according to an embodiment of the present invention is provided, where a user inputs user information at a first user terminal 101, the first user terminal generates request information according to the input user information, the request information is sent to a user information server 102, and the user information server processes the user request information, converts various user request information into a standard format file, and stores the standard format file in a user information database in a unified manner. The user information database uploads the standard format file to the distributed resource configuration server 104 over the isolated network 103. The distributed resource configuration server parses the file with the standard format, distributively stores the file in the distributed database 105, and sends the file with the standard format to the distributed resource supply client 106 according to the parsing result, and the distributed resource supply client 106 converts the file with the standard format into a file which can be locally identified, and allocates resources according to the request information contained in the file.
Referring to fig. 2, another distributed resource allocation system according to an embodiment of the present invention is exemplarily presented, which includes a plurality of first user terminals 201, a user information server 202, and an isolated network 203. The user inputs user information at the first user terminal 201, the first user terminal generates request information according to the input user information, the request information is sent to the user information server 202, the user information server processes the user request information, converts various user request information into standard format files, and stores the standard format files in the user information database in a unified manner. The user information database uploads the standard format file to the distributed resource configuration server 204 via the isolated network 203. Of course, a plurality of first terminals 201 may also share one user information server 202 and upload format files through the same isolation network 203, the setting of the isolation network 203 mainly depends on the network where the first terminal 201 is located, if the first terminals 201 are respectively dispersed in a plurality of networks, a plurality of user information servers 202 and the isolation network 203 need to be set, and the plurality of user information servers 202 are respectively accessed to the distributed resource configuration server 204 in the backbone network through the isolation network 203. The distributed resource configuration server parses the file with the standard format, distributively stores the file in the distributed database 205, and sends the file with the standard format to the distributed resource supply client 206 according to the parsing result, and the distributed resource supply client 206 converts the file with the standard format into a file which can be locally identified, and allocates resources according to the request information included in the file.
Of course, the specific implementation scenarios are not limited to those shown in fig. 1 and 2, and other network environments capable of implementing a distributed resource allocation system may also be used in the implementation of the present invention.
Fig. 3 illustrates a distributed resource allocation method according to an embodiment of the present invention, which can be applied to the implementation environments shown in fig. 1 to fig. 2. The method may comprise the steps of:
s310, the first client responds to user input, generates user request data and uploads the user request data to a user information database, wherein the user request data at least comprises user demand data and user reservation data.
When a user needs a specific resource allocation, a requirement for resource allocation is input through the client, including but not limited to the type of demand resource, the quantity of the resource, the time of the demand, the location of the demand, the source of the demand resource, a priority allocator of the demand resource or a designated allocator of the demand resource, the transportation mode of the demand resource, the settlement mode of the demand resource, and the like. In response to a request input by a user, a user client generates user request data, where the user request data at least includes user requirement data including a name, a type, a quantity, and the like of a required resource, and the user request data may further include selectable items, such as a specification of a allocating party or a distribution place, and generally also includes user reservation data, and the user reservation data includes data for unilaterally confirming that a user has issued a resource allocation request for the user, where the data at least includes a user ID, an associated item with the user requirement data, and a time item of the user requirement data. In one example, the user demand data, the user reservation data, and the selectable item constitute user request data.
The user request data is input by a Client, which may be based on a BS (Browser-Server) or CS (Client-Server) framework, and thus, the user input request data may exist in a variety of different formats.
S320, the user information database converts the user request data into a standard format file, and uploads the standard format file to a distributed resource configuration server through an isolation network.
The user information database is a server in the same network with the first client sending the user request data, and the server is used for collecting the user data request uploaded by the user client in the local network domain. A network domain is a collection of a series of network addresses in an isolation-free state partitioned based on a communication protocol. For example, a local area network built inside a company and isolated from the outside is a network domain, and information in the network domain cannot be directly transmitted to another network domain isolated from each other through a single terminal.
The standard format file is a format file with a uniform format and capable of being converted with a general format file, the file is good in universality and can be analyzed in different clients, and the file is converted into an executable file or a data stream according to the requirements of the clients. Especially, under the condition that information needs to be transmitted between different network domains through a specific interface, the standard can ensure the verification of file data in the file transmission process by files, and ensure the safety and the accuracy of the data.
The isolation network only needs to send the request data to the other side network, so that the privacy and the safety of the information data of the network where the first client is located can be guaranteed, the operating data of company resources are guaranteed not to be leaked, and malicious attacks such as malicious codes and SQL injection are effectively prevented.
S330, the distributed resource configuration server responds to the pulling of the distributed resource supply client and sends the first standard format file to the distributed resource supply client.
S340, the distributed resource supply client acquires the first standard format file from the distributed resource configuration server, and analyzes the first standard format file into a file style which can be identified by the distributed resource supply client.
The site providing resource storage and configuration can also access to the distributed resource configuration Server based on a BS (Browser-Server) or CS (Client-Server) framework and obtain the standard format file from the distributed resource configuration Server. The obtaining of the first standard format file includes a specified class file and a non-specified class file, where the specified class file is specified according to an orientation of a selectable item configuration predetermined by a user, for example, the user can obtain the first standard format file only by configuring a client in a specified area according to the selectable item. The non-specified class file is a standard format file that can be acquired by all clients. After the client side obtains the standard format file, the standard format file is analyzed, and the standard format file is analyzed into a file style which can be identified by the distributed resource supply client side.
In one example, the distributed resource configuration server is a cloud server cluster based on a distributed technology, so that data of one side of the network is distributed to a certain interface server of the server cluster, and global information distributed to each interface server cannot be acquired from the other side of the network through a single server interface.
In summary, based on the technical solution provided by the embodiment of the present invention, the resource data of all resource providers can be directly mapped to the database of the resource demander, which is beneficial to uniform allocation of resources and reduces the operation cost. The isolation network can ensure the information privacy and data safety of a data demand side and a data supply side, and the standardized format file can reduce the risks of malicious codes and SQL injection. The distributed server can further ensure the safety of the data and prevent the operation risk caused by the external interception of the resource demand data.
Fig. 4 shows a distributed resource allocation method according to another embodiment of the present invention, which can be applied to the implementation environments shown in fig. 1 to fig. 2. The method may comprise the steps of:
s400, the distributed resource supply client generates a second standard format file according to the local database information and uploads the second standard format file to a distributed resource configuration server, and the distributed resource configuration server mirrors the second standard format file to a user information database through an isolation network; and the first client acquires the second standard format file and renders a first client user interface according to the second standard format file.
The distributed resource supply client is a plurality of independent clients distributed in the backbone network, the clients are mapped with one or more resource allocation terminals, the local database of the distributed resource supply client records resource information of the one or more resource allocation terminals, the resource information reflects resource stock conditions of the warehouse corresponding to the resource allocation terminals, and comprises positioning information, capacity information, material information and resource allocation information related to the warehouse corresponding to the resource allocation terminals, such as addresses, capacities, types, stocks, predetermined and locked quantities of the resources, logistics capacity and the like. The distributed resource supply client uploads the local database information to the distributed resource configuration server, the distributed resource configuration server generates a second standard format file from the local database information, and the second standard format file is a uniform format file which can be analyzed and identified by the user information server. The second standard format file is completed through the distributed resource configuration server, and format conversion in the file generation process only extracts the information of the specification of the second standard format file, so that the identification of the client terminal in rendering or updating is facilitated. In addition, in the process of generating the second standard format specification file, only the data specified in the second standard format is required to be extracted, other file information is not required to be brought in, malicious codes from a resource allocation terminal can be effectively prevented from being executed, and database risks such as SQL injection are avoided.
And the distributed resource configuration server copies the second standard format file to a user information database through an isolation network mirror image. As shown in fig. 5, in one embodiment, the distributed resource allocation server 504 may obtain the second standard format file from each terminal database 505 and upload the second standard format file to the cross server 500. The user information server 502 obtains the second standard format file from the trans-separation server 500, analyzes the second standard format file, and stores the analyzed content in the user information server, thereby implementing mirror image copy of the files in the two mutually isolated networks. When a user uses a first user terminal to initiate a request, the stored content is pulled from the user information server, and an interface of the first user terminal is rendered according to the content data, wherein the content displayed by the rendered interface comprises positioning information, capacity information, material information, resource allocation information and the like related to a warehouse corresponding to a resource allocation terminal contained in the content obtained according to the pulling.
S410, the first client responds to user input, generates user request data and uploads the user request data to a user information database, wherein the user request data at least comprises user demand data and user reservation data.
When a user needs a specific resource allocation, a requirement for resource allocation is input through the client, including but not limited to the type of demand resource, the quantity of the resource, the time of the demand, the location of the demand, the source of the demand resource, a priority allocator of the demand resource or a designated allocator of the demand resource, the transportation mode of the demand resource, the settlement mode of the demand resource, and the like. In response to a request input by a user, a user client generates user request data, where the user request data at least includes user requirement data including a name, a type, a quantity, and the like of a required resource, and the user request data may further include selectable items, such as a specification of a allocating party or a distribution place, and generally also includes user reservation data, and the user reservation data includes data for unilaterally confirming that a user has issued a resource allocation request for the user, where the data at least includes a user ID, an associated item with the user requirement data, and a time item of the user requirement data. In one example, the user demand data, the user reservation data, and the selectable item constitute user request data.
The user request data is input by a Client, which may be based on a BS (Browser-Server) or CS (Client-Server) framework, and thus, the user input request data may exist in a variety of different formats.
And S420, converting the user request data into a standard format file by the user information database, and uploading the standard format file to the distributed resource configuration server through the isolated network.
The user information database is a server in the same network with the first client sending the user request data, and the server is used for collecting the user data request uploaded by the user client in the local network domain. A network domain is a collection of a series of network addresses in an isolation-free state partitioned based on a communication protocol. For example, a local area network built inside a company and isolated from the outside is a network domain, and information in the network domain cannot be directly transmitted to another network domain isolated from each other through a single terminal.
The standard format file is a format file with a uniform format and capable of being converted with a general format file, the file is good in universality and can be analyzed in different clients, and the file is converted into an executable file or a data stream according to the requirements of the clients. Especially, under the condition that information needs to be transmitted between different network domains through a specific interface, the standard can ensure the verification of file data in the file transmission process by files, and ensure the safety and the accuracy of the data.
S430, the distributed resource supply client downloads the standard format file from the distributed resource configuration server, and the standard format file is analyzed into a file style which can be identified by the distributed resource supply client.
The site providing resource storage and configuration can also access to the distributed resource configuration Server based on a BS (Browser-Server) or CS (Client-Server) framework and obtain the standard format file from the distributed resource configuration Server. The obtaining of the first standard format file includes a specified class file and a non-specified class file, where the specified class file is specified according to an orientation of a selectable item configuration predetermined by a user, for example, the user can obtain the first standard format file only by configuring a client in a specified area according to the selectable item. The non-specified class file is a standard format file that can be acquired by all clients. After the client side obtains the standard format file, the standard format file is analyzed, and the standard format file is analyzed into a file style which can be identified by the distributed resource supply client side.
S440, the distributed resource supply client generates an order according to the user demand data and the user reservation data contained in the first standard format file, and sends the order to a resource distribution terminal; the resource distribution terminal generates feedback information according to the order information and returns the feedback information to the distributed resource supply client; the distributed resource supply client updates a local database according to the feedback information, generates an updated second standard format file, and sends the updated second standard format file to a distributed resource configuration server; the distributed resource configuration server mirrors the updated second standard format file to a user information database through an isolation network; and the first client acquires the updated second standard format file and renders a first client user interface according to the updated second standard format file.
In summary, based on the technical solution provided by the embodiment of the present invention, the resource data of all resource providers can be directly mapped to the database of the resource demander, which is beneficial to uniform allocation of resources and reduces the operation cost. The isolation network can ensure the information privacy and data safety of a data demand side and a data supply side, and the standardized format file can reduce the risks of malicious codes and SQL injection. The distributed server can further ensure the safety of the data and prevent the operation risk caused by the external interception of the resource demand data.
The embodiment provides an apparatus in a distributed resource allocation system, which can be applied to the implementation environment shown in fig. 1 or fig. 2.
The first client responds to user input, generates user request data and uploads the user request data to a user information database, wherein the user request data at least comprise user demand data and user reservation data. As shown in fig. 6, the first client includes at least the following modules:
and the information pulling submodule is used for pulling the resource information from the user information database.
And the rendering submodule is used for rendering the user interface according to the resource information obtained by pulling from the information database.
And the receiving module is used for receiving the information input by the user on the user interface.
And the request generation module is used for responding to the input of the user and generating user request data. Specifically, the generation module generates user requirement data and user reservation data according to the requirement and reservation condition input by the user. When a user needs a specific resource allocation, a requirement for resource allocation is input through the client, including but not limited to the type of demand resource, the quantity of the resource, the time of the demand, the location of the demand, the source of the demand resource, a priority allocator of the demand resource or a designated allocator of the demand resource, the transportation mode of the demand resource, the settlement mode of the demand resource, and the like. In response to a request input by a user, a user client generates user request data, where the user request data at least includes user requirement data including a name, a type, a quantity, and the like of a required resource, and the user request data may further include selectable items, such as a specification of a allocating party or a distribution place, and generally also includes user reservation data, and the user reservation data includes data for unilaterally confirming that a user has issued a resource allocation request for the user, where the data at least includes a user ID, an associated item with the user requirement data, and a time item of the user requirement data. In one example, the user demand data, the user reservation data, and the selectable item constitute user request data.
And the request sending module is used for uploading the user request data to a user information database.
In a specific example, the first client further includes a retrieval sub-module, configured to send a retrieval request to the user information database according to a retrieval condition input by a user.
As shown in fig. 7, the user information database at least comprises the following modules:
a request receiving submodule for receiving request data from a first client;
and the first standardization module is used for converting the request data into a first standard format file.
And the uploading sub-module is used for uploading the first standard format file to a distributed resource supply server.
And the mirror database is used for storing mirror images from the distributed resource supply server through the isolation network.
In one particular example, the mirror database stores a single second standard format file from the distributed resource provisioning client. And then processing the second standard format file by a processing module to obtain resource data of each resource supply client.
In another specific example, the mirror database stores a single second standard format file from the distributed resource provisioning client. And starting to retrieve the second standard format file when responding to the pull request of the first client so as to obtain the matched second standard format file.
As shown in fig. 8, the distributed resource provisioning server includes at least the following modules:
and the first cross-partition network service module is used for receiving the first standard format file uploaded from the user information database. In one example, the first cross-partitioned network service module requires authorization verification through the isolated network to obtain authorization to obtain data from the user information database.
And the second cross-partition network service module is used for responding to a pulling request from the user information database and uploading the second standard format file to the user information database. In one example, the second cross-room network service module requires a permission verification through the isolated network to obtain permission to obtain data to the user information database.
In one example, the cross-partition network service module is implemented by a cross-partition server which is arranged on two sides of the isolation network in a cross-partition mode, and the cross-partition server is respectively communicated with two mutually isolated networks through a private interface.
In one example, the permissions of the two modules are unidirectional, that is, only read or write can be implemented independently, so that the two networks are isolated to prevent malicious attacks or other types of intrusion on the database.
The distributed resource supply server also comprises a storage module used for storing the first standard format file from the user information server side.
The storage module is also used for receiving the database information from the resource supply terminal and converting the database information into a second standard format file through the format conversion module.
In one example, as shown in FIG. 9, the distributed resource provisioning client database contains information including: warehousing and ex-warehouse related data: business document data needing to be delivered or put in a warehouse are submitted by a user at a cloud warehouse operation end; standard supplier data: the system makes warehousing and ex-warehouse data according to a standard, ensures that the data formats of all suppliers are the same, and the suppliers process the data according to the requirements of the suppliers after obtaining the data. Supplier program: the supplier side has its own program for processing the received data.
Referring to fig. 10, a schematic structural diagram of a terminal according to an embodiment of the present invention is shown. The terminal is used for implementing the validity verification method of the software product provided in the embodiment. Specifically, the method comprises the following steps:
terminal 1000 can include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, input unit 130, display unit 140, video sensor 150, audio circuitry 160, WiFi (wireless fidelity) module 170, processor 180 including one or more processing cores, and power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as video data, a phone book, etc.) created according to the use of the terminal 1000, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Specifically, the input unit 130 may include an image input device 131 and other input devices 132. The image input device 131 may be a camera or a photoelectric scanning device. The input unit 130 may include other input devices 132 in addition to the image input device 131. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Display unit 140 can be used to display information entered by or provided to a user as well as various graphical user interfaces of terminal 1000, which can be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode, 15 Organic Light-Emitting Diode), or the like.
Terminal 1000 can include at least one video sensor 150 for obtaining video information of a user. Terminal 1000 can also include other sensors (not shown) such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 141 and/or a backlight when the terminal 1000 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor that can be configured for terminal 1000 are not described herein.
Video circuitry 160, speaker 161, and microphone 162 can provide a video interface between a user and terminal 1000. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 11 for transmission to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. Audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with terminal 1000.
WiFi belongs to short-distance wireless transmission technology, and the terminal 1000 can help a user send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 70, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 1000, and can be omitted entirely as needed within the scope not changing the essence of the invention.
Processor 180 is the control center of terminal 1000, and interfaces and lines are used to connect various parts of the entire handset, and by running or executing software programs and/or modules stored in memory 120, and calling data stored in memory 120, various functions of terminal 1000 and processing data are executed, thereby performing overall monitoring of the handset. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Terminal 1000 can also include a power supply 190 (e.g., a battery) for powering the various components, which can be logically coupled to processor 180 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, terminal 1000 can also include a Bluetooth module or the like, which is not described in detail herein.
In this embodiment, terminal 1000 can also include memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the method on the sender client side or the receiver client side.
The memory also includes one or more programs stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the method of the backend server side.
Referring to fig. 11, a schematic structural diagram of a server according to an embodiment of the present invention is shown. The server is used for implementing the seed population diffusion method on the server side provided in the above embodiment. Specifically, the method comprises the following steps:
the server 900 includes a Central Processing Unit (CPU)901, a system memory 904 including a Random Access Memory (RAM)902 and a Read Only Memory (ROM)903, and a system bus 905 connecting the system memory 904 and the central processing unit 901. The server 900 also includes a basic input/output system (I/O system) 906 for facilitating the transfer of information between devices within the computer, and a mass storage device 907 for storing an operating system 913, application programs 914, and other program modules 915.
The basic input/output system 906 includes a display 908 for displaying information and an input device 909 such as a mouse, keyboard, etc. for user input of information. Wherein the display 908 and the input device 909 are connected to the central processing unit 901 through an input output controller 910 connected to the system bus 905. The basic input/output system 906 may also include an input/output controller 910 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 910 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 907 is connected to the central processing unit 901 through a mass storage controller (not shown) connected to the system bus 905. The mass storage device 907 and its associated computer-readable media provide non-volatile storage for the server 900. That is, the mass storage device 907 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 904 and mass storage device 907 described above may be collectively referred to as memory.
The server 900 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the invention. That is, the server 900 may be connected to the network 912 through the network interface unit 911 coupled to the system bus 905, or the network interface unit 911 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is further provided, for example, a memory including instructions executable by a processor of a terminal to perform the steps of the sender client side or the receiver client side in the above method embodiments, or executed by a processor of a server to perform the steps of the background server side in the above method embodiments. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be understood that the reference to "a plurality" in the present embodiment means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (15)

1. A method for distributed resource allocation, the method comprising the steps of:
the first client responds to user input, generates user request data and uploads the user request data to a user information database;
the user information database converts the user request data into a first standard format file, and uploads the first standard format file to a distributed resource configuration server through an isolation network;
the distributed resource configuration server responds to the pulling of the distributed resource supply client and issues the first standard format file to the distributed resource supply client;
and the distributed resource supply client acquires the first standard format file from the distributed resource configuration server and analyzes the first standard format file into a file style which can be identified by the distributed resource supply client.
2. The method of claim 1, further comprising, before the steps of generating user request data by the first client in response to user input and uploading the user request data to a user information database, the steps of:
the distributed resource supply client generates a second standard format file according to the local database information, uploads the second standard format file to a distributed resource configuration server, and the distributed resource configuration server copies the second standard format file to a user information database through an isolation network mirror image;
and the first client acquires the second standard format file and renders a first client user interface according to the second standard format file.
3. The method according to claim 2, wherein the step of the distributed resource provisioning client obtaining the first standard format file from the distributed resource configuration server and parsing the first standard format file into a file pattern that can be recognized by the distributed resource provisioning client further comprises the following steps:
the distributed resource supply client generates an order according to the user demand data and the user reservation data contained in the first standard format file, and sends the order to a resource distribution terminal;
the resource distribution terminal generates feedback information according to the order information and returns the feedback information to the distributed resource supply client;
the distributed resource supply client updates a local database according to the feedback information, generates an updated second standard format file, and sends the updated second standard format file to a distributed resource configuration server;
the distributed resource configuration server mirrors the updated second standard format file to a user information database through an isolation network;
and the first client acquires the updated second standard format file and renders a first client user interface according to the updated second standard format file.
4. The method of claim 1, wherein the user request data comprises at least user demand data and user subscription data.
5. The method of claim 1, wherein uploading the first standard format file to a distributed resource configuration server over an isolated network comprises:
uploading the first standard format file to a cross-interval server; and the resource configuration server regularly pulls the first standard format file.
6. A distributed resource allocation system, the system comprising:
the first client is used for responding to user input, generating user request data and uploading the user request data to a user information database;
the user information database is used for converting the user request data into a first standard format file and uploading the first standard format file to the distributed resource configuration server through an isolation network;
the distributed resource configuration server is used for responding to the pulling of the distributed resource supply client and issuing the first standard format file to the distributed resource supply client;
and the distributed resource supply client is used for acquiring the first standard format file from the distributed resource configuration server and analyzing the first standard format file into a file style which can be identified by the distributed resource supply client.
7. The system of claim 6, wherein the distributed resource provisioning client is further configured to generate a second standard format file according to the local database information, and upload the second standard format file to the distributed resource provisioning server, and the distributed resource provisioning server copies the second standard format file to the user information database via an isolated network mirror;
the first client is also used for obtaining the second standard format file and rendering the first client user interface according to the second standard format file.
8. The system according to claim 7, wherein the distributed resource supply client is further configured to generate an order according to the user demand data and the user reservation data contained in the first standard format file, and send the order to the resource distribution terminal;
the resource distribution terminal is further used for generating feedback information according to the order information and returning the feedback information to the distributed resource supply client;
the distributed resource supply client is further used for updating a local database according to the feedback information, generating an updated second standard format file and sending the updated second standard format file to the distributed resource configuration server;
the distributed resource configuration server is also used for mirroring the updated second standard format file to a user information database through an isolation network;
and the first client acquires the updated second standard format file and renders a first client user interface according to the updated second standard format file.
9. A method for distributed resource allocation, the method comprising: responding to user input, generating user request data, uploading the user request data to a user information database, so that the user information database converts the user request data into a first standard format file, and uploading the first standard format file to a distributed resource configuration server through an isolation network; the distributed resource supply client is used for acquiring the first standard format file from the distributed resource configuration server and analyzing the first standard format file into a file style which can be identified by the distributed resource supply client.
10. The method of claim 9, further comprising, prior to the steps of generating user request data in response to user input and uploading the user request data to a user information database, the steps of:
acquiring a second standard format file, and rendering a first client user interface according to the second standard format file; the second standard file is generated by the distributed resource supply client according to the local database information and is uploaded to the distributed resource configuration server; and the distributed resource configuration server copies the second standard format file to a user information database through an isolation network mirror image.
11. The method according to claim 10, wherein the step of the distributed resource provisioning client obtaining the first standard format file from the distributed resource configuration server and parsing the first standard format file into a file pattern that can be recognized by the distributed resource provisioning client further comprises the following steps:
the distributed resource supply client generates an order according to the user demand data and the user reservation data contained in the first standard format file, and sends the order to a resource distribution terminal;
the resource distribution terminal generates feedback information according to the order information and returns the feedback information to the distributed resource supply client;
the distributed resource supply client updates a local database according to the feedback information, generates an updated second standard format file, and sends the updated second standard format file to a distributed resource configuration server;
the distributed resource configuration server mirrors the updated second standard format file to a user information database through an isolation network;
and the first client acquires the updated second standard format file and renders a first client user interface according to the updated second standard format file.
12. The method of claim 9, wherein the user request data comprises at least user demand data and user subscription data.
13. The method of claim 9, wherein uploading the first standard format file to a distributed resource configuration server over an isolated network comprises:
uploading the first standard format file to a cross-interval server; and the resource configuration server regularly pulls the first standard format file.
14. A distributed resource allocation apparatus, comprising:
the receiving module is used for receiving user input information;
the request generation module is used for responding to user input and generating user request data;
the request sending module is used for uploading the user request data to a user information database; converting the user request data in the user information database into a first standard format file, and uploading the first standard format file to a distributed resource configuration server through an isolation network; and the distributed resource supply client is used for acquiring the first standard format file and analyzing the first standard format file into a file format which can be identified by the distributed resource supply client.
15. The apparatus according to claim 14, wherein the distributed resource supply client is further configured to generate an order according to the user demand data and the user reservation data contained in the first standard format file, and send the order to the resource distribution terminal;
the resource distribution terminal is further used for generating feedback information according to the order information and returning the feedback information to the distributed resource supply client;
the distributed resource supply client is further used for updating a local database according to the feedback information, generating an updated second standard format file and sending the updated second standard format file to the distributed resource configuration server;
the distributed resource configuration server is also used for mirroring the updated second standard format file to a user information database through an isolation network;
and the first client acquires the updated second standard format file and renders a first client user interface according to the updated second standard format file.
CN201710321080.4A 2017-05-09 2017-05-09 Distributed resource allocation method, device and system Active CN108881107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710321080.4A CN108881107B (en) 2017-05-09 2017-05-09 Distributed resource allocation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710321080.4A CN108881107B (en) 2017-05-09 2017-05-09 Distributed resource allocation method, device and system

Publications (2)

Publication Number Publication Date
CN108881107A CN108881107A (en) 2018-11-23
CN108881107B true CN108881107B (en) 2021-08-17

Family

ID=64287125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710321080.4A Active CN108881107B (en) 2017-05-09 2017-05-09 Distributed resource allocation method, device and system

Country Status (1)

Country Link
CN (1) CN108881107B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100517335C (en) * 2007-10-25 2009-07-22 中国科学院计算技术研究所 Distributed file system file writing system and method
KR101641179B1 (en) * 2015-12-31 2016-07-20 아이씨티웨이주식회사 Distributed processing method and server for processing mass geographic data
CN106355312A (en) * 2016-08-26 2017-01-25 广西宏智科技有限公司 Intelligent material dispatching system based on large data in sugar factory

Also Published As

Publication number Publication date
CN108881107A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
CN108667884B (en) Mirror image distribution method, mirror image acquisition method and device
US9807218B2 (en) Method for filtering spam in electronic device and the electronic device
CN106713323B (en) page content preview method, client, server and system
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN107204964B (en) Authority management method, device and system
CN104683422A (en) Method and device for transmitting data
CN103416047B (en) Peripheral device detection with short-range communication
CN108206742B (en) Message sending method, device, server and system
CN108401026B (en) Block chain-based data storage method, system and computer-readable storage medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN109146446B (en) Virtual article issuing method, device and system
CN107992498B (en) Method and system for importing data into data warehouse
CN110837409A (en) Method and system for executing task regularly
CN112995239B (en) Data processing method and device
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN105306244A (en) Router management method, router management system and router management device
CN108881107B (en) Distributed resource allocation method, device and system
CN115065609A (en) B-end SaaS system hybrid deployment method and system
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN114979256A (en) Message pushing method and device, electronic equipment and computer readable medium
CN105681723B (en) Audio and video call method and device
US11327845B2 (en) Image synchronization method and device, and server
CN110798444B (en) Data synchronization method and device based on Internet of things
CN113242314A (en) Cross-terminal resource access method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant